
/* Incremental V2 layer: preserve the warm palette and existing form primitives. */
[hidden]{display:none!important}html{scroll-behavior:smooth}.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}
.shell{max-width:1640px;padding:20px 30px 60px}.masthead{padding:4px 0 22px}.hero{padding:24px 28px;border-radius:18px;align-items:center;gap:24px}.hero h1{font-family:inherit;font-size:27px}.hero .eyebrow{margin:0 0 8px}.hero p:last-child{font-size:13px;line-height:1.7}.hero .ghost{flex-shrink:0;white-space:nowrap}.banner-disclosure{margin-top:20px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.banner-disclosure summary{padding:17px 22px;cursor:pointer;font-weight:700;font-size:14px}.banner-disclosure summary span{margin-left:10px;font-size:12px;font-weight:400;color:var(--muted)}.banner-disclosure .banner-settings{border:0;margin:0;border-top:1px solid var(--line);border-radius:0 0 14px 14px;padding:20px}.layout{grid-template-columns:390px minmax(0,1fr);gap:20px;margin-top:20px;align-items:start}.course-panel,.workspace{border-radius:16px;box-shadow:0 6px 24px rgba(62,45,34,.035);padding:20px;min-width:0}.course-panel{position:sticky;top:16px;min-height:0}.course-panel .search{margin:18px 0 12px}.list-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}.list-filters label{display:grid;gap:6px;color:var(--muted);font-size:12px}.list-filters select{width:100%;min-width:0;padding:10px 8px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font:inherit}.list-filters .text-button{text-align:right}.list-count{margin:14px 0 10px;font-size:12px;color:var(--muted)}.course-list{max-height:calc(100vh - 340px);min-height:110px;gap:8px;padding:2px}.course-item{display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px;border:1px solid var(--line);background:white;text-align:left;color:var(--ink);font-weight:400;border-radius:11px}.course-item:hover{background:#fcf8f2}.course-item.active{background:#f7eee5;border-color:var(--red);box-shadow:inset 3px 0 var(--red)}.course-item .course-thumb{display:flex;flex:0 0 51px;width:51px;height:66px;align-items:center;justify-content:center;overflow:hidden;margin:0;background:#ece2d6;border-radius:7px;font-size:11px;color:#7d6755}.course-thumb img{width:100%;height:100%;object-fit:cover}.course-item .course-item-body{display:block;min-width:0;margin:0;flex:1}.course-item strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.course-item .course-classification{margin-top:5px;font-size:12px;line-height:1.4}.course-item .course-state-line{display:flex;align-items:center;gap:10px;margin-top:8px}.course-item .course-state-line>span{margin:0;white-space:nowrap;font-size:11px}.course-item .status{padding:3px 7px}.course-item small{display:block;margin-top:7px;font-size:10px;color:var(--muted);line-height:1.5;font-weight:400}.list-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12px}.list-pagination button{font-size:12px}.list-empty{display:grid;gap:9px;padding:30px 8px;text-align:center;color:var(--muted);font-size:12px}.list-empty strong{color:var(--ink);font-size:14px}.workspace{min-height:650px}.course-header{align-items:flex-start;padding:2px 0 18px}.course-header h2{font-family:inherit;font-size:25px;line-height:1.4;overflow-wrap:anywhere}.course-header .eyebrow{font-size:10px;letter-spacing:.05em;overflow-wrap:anywhere}.editor-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:18px 0;padding:5px;background:#f0e9e0;border-radius:11px}.editor-tabs button{flex:1;min-width:100px;padding:11px 7px;background:transparent;color:var(--muted);border-radius:8px;font-size:13px;white-space:nowrap}.editor-tabs button[aria-pressed=true]{color:var(--red);background:#fff;box-shadow:0 2px 7px rgba(62,45,34,.06)}.metrics{margin:16px 0;gap:10px}.metrics div{padding:13px 15px}.metrics strong{font-size:21px}.metrics div:last-child strong{font-size:17px;line-height:25px}.metadata-form{background:#fffdf9;border-radius:12px}.metadata-heading h3{font-size:16px}.metadata-heading p{line-height:1.7}.edit-fields{display:block}.edit-fields>[data-editor-section]{margin-top:6px}.save-state{display:inline-block;margin:2px 0 8px;padding:4px 8px;border-radius:5px;font-size:11px;color:var(--red);background:#f6eee6}#metadataForm>.metadata-heading{position:sticky;top:8px;z-index:5;padding:14px;margin:-20px -20px 0;background:rgba(255,253,249,.98);border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}#metadataForm>.metadata-heading button{white-space:nowrap;align-self:center;font-size:12px}.resource-overview{margin:18px 0}.resource-title{display:grid;gap:6px;margin-bottom:12px}.resource-title small{color:var(--muted);font-size:11px;line-height:1.6}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.resource-grid>div{display:grid;gap:7px;padding:15px;border:1px solid var(--line);border-radius:11px;background:#fbf7f1}.resource-grid strong{font-size:13px}.resource-grid span{font-size:12px;color:var(--green)}.resource-grid small{font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.word-documents{margin-top:24px}.upload-form{padding:18px;border:1px solid var(--line);border-radius:12px}.drop-zone{min-height:180px}.message{line-height:1.7}.publish-card{align-items:flex-start}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #b97345;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b97345;outline-offset:1px}
@media(max-width:1100px){.layout{grid-template-columns:330px minmax(0,1fr)}.shell{padding:18px}.course-panel,.workspace{padding:16px}.editor-tabs button{min-width:85px}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.course-panel{position:static}.course-list{max-height:380px}.hero h1{font-size:24px}.metadata-heading{display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .wide{grid-column:1/-1}.metadata-heading button{width:auto}.shell{padding:14px}.workspace{min-height:450px}}
@media(max-width:560px){.hero{padding:20px;align-items:flex-start}.hero p:last-child{font-size:12px}.hero .ghost{padding:10px}.environment{font-size:9px;letter-spacing:.1em}.form-grid,.resource-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.metrics{grid-template-columns:1fr}.metrics div{display:flex;gap:12px;align-items:center}.metrics span{margin:0}.metadata-heading{flex-direction:column;gap:12px}.metadata-heading button{align-self:stretch!important}.banner-disclosure summary span{display:block;margin:6px 0 0}.publish-card{flex-direction:column}.editor-tabs{gap:4px}.editor-tabs button{flex-basis:40%}.inline-fields{grid-template-columns:1fr}}

.editor-actionbar{position:sticky;top:8px;z-index:8;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 15px;margin:0 0 18px;border:1px solid var(--line);border-radius:11px;background:rgba(255,253,249,.98);box-shadow:0 4px 15px rgba(62,45,34,.06)}.editor-actionbar small{display:block;font-size:11px;color:var(--muted);line-height:1.5}.editor-actionbar button{white-space:nowrap;font-size:12px}.editor-actionbar .save-state{margin:0 0 4px}@media(max-width:560px){.editor-actionbar{align-items:stretch;flex-direction:column}}

.back-to-list{display:none;margin-bottom:14px}@media(max-width:900px){.back-to-list{display:inline-block}}
/* Phase 1B: reduce navigation chrome so course selection is visible sooner. */
.shell{padding-top:12px}.masthead{padding:0 0 10px}.brand-mark{width:34px;height:34px;font-size:19px}.brand{font-size:17px}
.hero{padding:14px 20px;gap:16px;border-radius:14px}.hero .eyebrow{display:none}.hero h1{font-size:23px;margin:0 0 4px}.hero p:last-child{font-size:12px;line-height:1.5}.hero .ghost{padding:9px 14px;font-size:12px}
.banner-disclosure{margin-top:12px}.banner-disclosure summary{padding:11px 17px}.layout{margin-top:12px}.course-panel .search{margin:12px 0 10px;padding:10px 12px}.list-filters{gap:8px}.list-filters label{gap:4px}.list-filters select{padding:8px}.list-count{margin:10px 0 8px}.course-panel>.message{padding:9px 12px;margin:10px 0}
@media(max-width:560px){.hero{padding:14px;gap:12px}.hero h1{font-size:21px}.hero .ghost{padding:9px}.environment{max-width:48%;text-align:right;overflow-wrap:anywhere}.banner-disclosure summary span{margin-top:4px}}
/* Reference layout: table workspace and a separate course editor. */
:root{--paper:#f7f8fa;--card:#fff;--ink:#24272e;--muted:#747b86;--line:#e8ebf0;--red:#ed5b13;--red-dark:#cf4708;--green:#238b4a;--shadow:0 4px 20px rgba(24,32,48,.04)}
body{background:var(--paper)}button{border-radius:7px}.admin-authenticated .shell{max-width:none;margin:0 0 0 184px;padding:76px 28px 100px}.admin-authenticated .masthead{position:fixed;left:184px;right:0;top:0;height:54px;padding:10px 28px;background:white;border-bottom:1px solid var(--line);z-index:20}.admin-authenticated .masthead .brand-mark{display:none}.admin-authenticated .masthead .brand{font-size:13px;margin:0}.environment{font-size:10px}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:184px;background:#fffcf8;border-right:1px solid var(--line);z-index:21;padding:22px 14px;display:flex;flex-direction:column}.sidebar-brand{font-weight:750;font-size:17px;padding:0 7px 24px}.sidebar-brand small{display:block;font-size:12px;font-weight:400;margin-top:6px;color:var(--muted)}.admin-sidebar nav{display:grid;gap:7px}.admin-sidebar button{display:flex;gap:12px;text-align:left;padding:13px;background:transparent;color:var(--ink);font-size:13px}.admin-sidebar button.active{background:var(--red);color:white}.admin-sidebar>p{margin-top:auto;font-size:11px;padding:10px;color:var(--muted)}
.hero{background:none;color:var(--ink);box-shadow:none;padding:0 0 22px;border-radius:0}.hero h1{font-size:25px}.hero p:last-child{color:var(--muted)}.hero .ghost{color:var(--muted);background:white;border:1px solid var(--line)}.layout{display:block;margin:0}.course-panel,.workspace{box-shadow:var(--shadow);border:1px solid var(--line);background:white;border-radius:10px;padding:20px;position:static;min-height:0}.panel-heading h2{font-size:18px}.course-panel>.panel-heading{margin-bottom:18px}.panel-actions{display:flex;gap:10px}.panel-actions button{font-size:13px;border:1px solid var(--line);padding:9px 14px;border-radius:7px}.panel-actions #createCourseButton{order:2;background:var(--red);color:white;border-color:var(--red)}.filter-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.filter-toolbar .search{flex:1;min-width:140px;margin:0;padding:11px 13px;border-radius:7px;font-size:12px}.filter-toolbar .list-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.list-filters label{font-size:11px;gap:3px}.list-filters select{padding:7px 9px;border-radius:6px;min-width:105px}.list-filters .text-button{font-size:12px;white-space:nowrap}.course-table-scroll{overflow-x:auto}.course-table{border-collapse:collapse;width:100%;min-width:760px;text-align:left;font-size:12px}.course-table th{background:#f7f8fa;color:#5c626e;font-weight:600;padding:13px 12px;white-space:nowrap;border-bottom:1px solid var(--line)}.course-table td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.course-table tr:hover{background:#fffcf8}.course-table .course-list{display:table-row-group;max-height:none;min-height:0;padding:0}.table-course{display:flex;align-items:center;gap:12px;min-width:220px}.course-table .course-thumb{display:flex;flex:0 0 42px;width:42px;height:52px;align-items:center;justify-content:center;background:#f1ece4;border-radius:5px;overflow:hidden;font-size:10px;color:var(--muted)}.table-course strong{font-size:13px;display:block;overflow-wrap:anywhere}.table-course small{display:block;font-size:10px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.table-course>span:last-child{max-width:290px}.course-table .status{font-size:11px;padding:4px 8px;white-space:nowrap}.status.published{color:#228b47;background:#e5f8e8}.status.offline{color:#9d6714;background:#fff3da}.course-table .table-edit{display:inline-block;width:auto;min-width:56px;padding:7px 12px;background:white;color:var(--ink);font-size:12px;border:1px solid var(--line);border-radius:6px}.resource-ratio{display:block;text-align:center;font-size:11px}.course-table progress{display:block;width:86px;height:6px;margin:6px auto 0;accent-color:var(--green)}.course-table time{font-size:11px;color:var(--muted);line-height:1.6}.list-pagination{margin-top:0;padding-top:16px}.list-count{font-size:11px}.course-table .list-empty{padding:50px 10px}
#dashboardView[data-view=editor]>.hero,#dashboardView[data-view=home]>.hero,#dashboardView[data-view=banner]>.hero{display:none}.workspace{border:0;box-shadow:none;background:transparent;padding:0}.empty-state{display:none}.back-to-list{display:inline-flex;font-size:12px;border:1px solid var(--line);padding:8px 12px;background:white;float:right;margin:0}.course-header{border-bottom:1px solid var(--line);min-height:66px;padding:0 145px 18px 0;gap:14px}.course-header h2{font-size:21px;margin:0}.course-header .eyebrow{margin:0 0 6px}.course-header .status{white-space:nowrap;font-size:11px}#courseEditor{position:relative;padding-left:196px;min-height:650px}#courseEditor>.course-header,#courseEditor>.back-to-list{position:relative}#courseEditor>.course-header{margin-left:-196px}#courseEditor>.editor-tabs{position:absolute;left:0;top:90px;width:176px;display:grid;gap:8px;background:none;padding:0;margin:0}#courseEditor>.editor-tabs button{padding:15px 12px;text-align:left;border-radius:8px;font-size:13px;min-width:0;color:#565d68;background:transparent}#courseEditor>.editor-tabs button[aria-pressed=true]{background:#fff0e3;color:var(--red);box-shadow:none}#courseEditor>.metrics{margin:16px 0}.metrics div{background:white;border:1px solid var(--line);border-radius:8px;padding:11px 14px}.metrics strong{font-size:18px;color:var(--ink)}.metrics span{font-size:11px}.metadata-form,.upload-form{background:white;border:1px solid var(--line);border-radius:9px;margin-top:18px}.metadata-heading h3{font-size:17px}.metadata-heading p{font-size:12px}.form-grid input,.form-grid select,.form-grid textarea{border-radius:6px}.editor-actionbar{position:fixed;left:208px;right:24px;bottom:16px;top:auto;z-index:30;margin:0;padding:13px 18px;border-radius:9px;background:rgba(255,255,255,.98);box-shadow:0 -4px 20px rgba(30,35,45,.05)}.editor-actionbar .save-state{background:none;padding:0;color:var(--red);font-size:12px}.save-actions{display:flex;gap:10px}.save-actions .secondary{background:white;color:var(--ink);border:1px solid var(--line)}.save-actions #saveMetadataButton{background:var(--red);color:white;border-color:var(--red)}.resource-grid{grid-template-columns:1fr}.resource-grid>div{grid-template-columns:160px 110px minmax(0,1fr);align-items:center;background:white;border-radius:8px}.resource-grid small{grid-column:auto}.banner-disclosure{margin:0;background:white}.banner-disclosure summary{font-size:17px;padding:20px}.home-welcome{background:linear-gradient(110deg,#fff1d9,#f3ead3 70%,#e8eee1);padding:30px;border:1px solid #eee4d5;border-radius:12px;margin-bottom:22px}.home-welcome p{font-size:12px;color:#877247}.home-welcome h1{font-size:29px;margin-bottom:10px}.home-welcome span{color:#827460;font-size:13px}.home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.home-stats>div,.home-card{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.home-stats span{font-size:12px;color:var(--muted)}.home-stats strong{display:block;font-size:26px;margin-top:8px}.home-stats small{font-size:12px;font-weight:400;color:var(--muted)}.home-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:20px}.home-card h2{font-size:17px}.home-card>button{width:100%;margin-top:12px}.home-card .secondary{background:#fff4e9;color:#9b501f}.recent-course{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:white;color:var(--ink);border-radius:0;padding:16px 0;border-bottom:1px solid var(--line)}.recent-course:hover{background:#fffcf7}.recent-course strong{font-size:13px}.recent-course small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.recent-course .status{font-size:11px;white-space:nowrap}
@media(max-width:1100px){.admin-authenticated .shell{padding:74px 18px 100px}.filter-toolbar{align-items:stretch;flex-direction:column}.filter-toolbar .list-filters{justify-content:flex-start}.home-stats{gap:10px}.resource-grid>div{grid-template-columns:1fr}.resource-grid small{grid-column:1}}
@media(max-width:800px){.admin-sidebar{width:148px;padding:18px 10px}.sidebar-brand{font-size:14px}.admin-authenticated .masthead{left:148px;padding:10px 18px}.admin-authenticated .shell{margin-left:148px;padding:72px 14px 120px}.editor-actionbar{left:162px;right:14px;bottom:12px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns{grid-template-columns:1fr}#courseEditor{padding-left:0}#courseEditor>.course-header{margin-left:0}#courseEditor>.editor-tabs{position:static;width:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}#courseEditor>.editor-tabs button{text-align:center;padding:11px 8px}.course-header{padding-right:0;clear:both;padding-top:14px}.back-to-list{float:none}.metrics{grid-template-columns:1fr 1fr}.metrics div:last-child{grid-column:1/-1}.course-panel{padding:14px}.home-welcome h1{font-size:24px}}
@media(max-width:560px){.admin-authenticated .shell{margin-left:0;padding:116px 10px 180px}.admin-authenticated .masthead{left:0;height:46px}.admin-sidebar{inset:46px 0 auto;width:100%;height:52px;padding:5px 10px;background:white;border-right:0;border-bottom:1px solid var(--line)}.sidebar-brand,.admin-sidebar>p{display:none}.admin-sidebar nav{display:flex;gap:8px}.admin-sidebar button{padding:10px 12px;font-size:12px}.editor-actionbar{left:10px;right:10px;bottom:8px;gap:9px}.save-actions button{flex:1}.filter-toolbar .list-filters{display:grid;grid-template-columns:1fr 1fr}.filter-toolbar .list-filters select{min-width:0}.panel-actions{gap:5px}.panel-actions button{padding:8px;font-size:11px}.home-stats>div,.home-card{padding:14px}.course-header h2{font-size:19px}.form-grid{grid-template-columns:1fr}.resource-grid{grid-template-columns:1fr}}
/* Reference details: file rows, cover preview, taxonomy overview and page size. */
.section-title{margin-bottom:22px}.section-title h1{font-size:25px;margin-bottom:8px}.section-title p{font-size:13px;color:var(--muted);line-height:1.7}.taxonomy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.taxonomy-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.taxonomy-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.taxonomy-row>span:last-child{white-space:nowrap;color:var(--muted)}.page-size-label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-left:auto}.page-size-label select{background:white;border:1px solid var(--line);border-radius:5px;padding:7px;font:inherit;color:var(--ink)}.list-pagination{gap:16px}.editor-cover-preview{display:flex;align-items:center;gap:18px;padding:14px 0;margin-bottom:12px;font-size:12px;color:var(--muted)}.editor-cover-preview img{width:120px;height:150px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.cover-placeholder{display:grid;place-items:center;min-width:150px;min-height:90px;border:1px dashed var(--line);border-radius:8px;background:#faf8f4;font-size:12px}.resource-file-list{display:grid;gap:12px}.resource-file-row{display:flex;align-items:center;gap:14px;padding:17px;background:white;border:1px solid var(--line);border-radius:9px}.file-type{display:grid;place-items:center;flex:0 0 42px;height:52px;border-radius:7px;background:#fff0e6;color:#d95d20;font-size:11px;font-weight:750}.file-type-1{background:#e9f1ff;color:#3177d8}.file-type-2{background:#efeaff;color:#7752c7}.file-type-3{background:#e5f7eb;color:#2b9253}.file-description{flex:1;min-width:0}.file-description strong{font-size:13px}.file-description small{display:block;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere;margin-top:4px}.resource-status{color:var(--green);font-size:12px;white-space:nowrap}.resource-locate.secondary{border:1px solid var(--line);background:white;color:var(--ink);font-size:11px;padding:8px 11px;white-space:nowrap}.word-documents .word-card{border:1px solid var(--line);border-radius:9px;background:white;padding:18px}.word-heading{font-size:13px}.word-heading span{font-size:11px;color:var(--muted)}.word-form input{min-width:0;width:100%;font-size:12px}.word-form button{font-size:12px;white-space:nowrap}.word-preview{overflow:auto;max-height:360px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.metadata-form input[type=file]{max-width:100%;font-size:12px}.editor-tabs button{line-height:1.6}
@media(max-width:1100px){.resource-file-row{flex-wrap:wrap}.resource-status{margin-left:auto}.resource-locate.secondary{margin-left:auto}.taxonomy-grid{gap:12px}}
@media(max-width:800px){.taxonomy-grid{grid-template-columns:1fr}.page-size-label{margin-left:0}.list-pagination{flex-wrap:wrap;gap:12px}.resource-file-row{padding:13px}.file-description{flex-basis:calc(100% - 70px)}.resource-status{margin-left:56px}.resource-locate.secondary{margin-left:auto}}
@media(max-width:560px){.admin-sidebar{height:auto;min-height:52px}.admin-sidebar nav{flex-wrap:wrap;gap:4px}.admin-sidebar button{padding:8px;font-size:11px;gap:5px}.admin-authenticated .shell{padding-top:140px}.editor-cover-preview{align-items:flex-start}.editor-cover-preview img{width:96px;height:120px}.word-form{display:grid;gap:10px}.word-form button{width:100%}}
#dashboardView:not([data-view=list])>.hero{display:none}.resource-status.is-missing{color:#b16a16}.resource-status.is-unknown{color:var(--muted)}
.admin-sidebar .nav-pending{cursor:not-allowed;opacity:1;color:#90959e;background:transparent;gap:8px}.nav-pending small{margin-left:auto;font-size:9px;font-weight:400;padding:2px 4px;background:#eeeff2;border-radius:4px;white-space:nowrap}.pending-note{display:inline-block;margin-left:10px;padding:2px 7px;font-size:11px;color:#8c7b60;background:#f6f0e5;border-radius:4px}.course-preview-pending.secondary{float:right;margin-left:10px;padding:8px 12px;font-size:11px;border:1px solid var(--line);background:#f5f6f8;color:#9297a0;opacity:1;cursor:not-allowed}.course-header{padding-right:0;clear:both;padding-top:14px}@media(max-width:800px){.admin-sidebar .nav-pending{flex-wrap:wrap}.nav-pending small{margin-left:0}.course-preview-pending.secondary{float:none;margin:0 0 10px 0}}@media(max-width:560px){.admin-sidebar nav{flex-wrap:nowrap;overflow-x:auto}.admin-sidebar button{flex-shrink:0}.admin-sidebar .nav-pending{flex-wrap:nowrap}.admin-authenticated .shell{padding-top:116px}}
/* Match the compact list toolbar in the approved reference. */
#dashboardView[data-view=list]>.hero{padding-bottom:18px}.filter-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px}.filter-toolbar .search{flex:1 1 240px;max-width:360px;min-width:180px;height:40px;margin:0;padding:9px 12px}.filter-toolbar .list-filters{display:flex;flex-wrap:nowrap;gap:9px;align-items:center}.filter-toolbar .list-filters label{display:block;gap:0}.filter-toolbar .list-filters select{height:40px;min-width:104px;padding:9px;font-size:12px}.filter-toolbar .list-filters .text-button{height:40px;padding:9px 16px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink)}.filter-toolbar .panel-actions{display:flex;gap:9px;margin-left:auto}.filter-toolbar .panel-actions button{height:40px;padding:9px 16px;margin:0;white-space:nowrap;color:var(--ink)}.filter-toolbar .panel-actions #createCourseButton{color:white}.course-panel>.message:not(.error){padding:0;margin:0 0 10px;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;border:0;border-radius:0}.list-pagination .list-count{margin:0 auto 0 0;white-space:nowrap}.course-table th{padding-top:11px;padding-bottom:11px}.course-table td{padding-top:12px;padding-bottom:12px}
@media(max-width:1100px){.filter-toolbar .search{max-width:none;flex-basis:100%}.filter-toolbar .panel-actions{margin-left:auto}}
@media(max-width:800px){.filter-toolbar .list-filters{flex-wrap:wrap}.filter-toolbar .panel-actions{margin-left:0}.list-pagination .list-count{flex-basis:100%}}
@media(max-width:560px){.filter-toolbar .list-filters{display:flex;flex-wrap:wrap;width:100%}.filter-toolbar .list-filters label{flex:1 1 28%}.filter-toolbar .list-filters select{width:100%;min-width:0}.filter-toolbar .panel-actions{flex:1;justify-content:flex-end}.filter-toolbar .panel-actions button{padding:9px 12px}.filter-toolbar .list-filters .text-button{padding:9px 12px}}
/* Home reference: reading banner, illustrated statistics and compact quick actions. */
.home-page-title{margin-bottom:16px}.home-page-title h1{margin:0;font-size:24px}.home-welcome{position:relative;overflow:hidden;min-height:188px;display:flex;align-items:center;justify-content:center;background:linear-gradient(105deg,#f7ecd1,#fff3d8 42%,#efe4c8);padding:28px 64px;border:1px solid #ece4d2}.welcome-copy{position:relative;z-index:1;width:100%;max-width:680px;text-align:left}.welcome-copy p{margin:0 0 8px;font-size:10px;letter-spacing:.08em}.welcome-copy h1{font-size:29px;margin:0 0 10px;color:#49391f;max-width:480px;line-height:1.4}.welcome-copy>span{display:block;font-size:14px;color:#82714c;max-width:440px;line-height:1.6}.welcome-art{position:absolute;right:-10px;bottom:0;width:58%;height:100%;opacity:.9;pointer-events:none}.welcome-arrow{position:absolute;top:50%;z-index:2;width:28px;height:28px;border-radius:50%;padding:0;display:grid;place-items:center;transform:translateY(-50%);font-size:24px;font-weight:400;background:#a79874;color:#fff}.welcome-arrow:hover{background:#817455}.welcome-prev{left:14px}.welcome-next{right:14px}.welcome-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;z-index:2}.welcome-dots button{width:7px;height:7px;min-width:0;border-radius:50%;padding:0;background:#c3b28b}.welcome-dots button[aria-pressed=true]{background:#fff}.home-stats{gap:14px}.home-stats>div{display:flex;align-items:center;gap:14px;padding:20px 16px;min-width:0}.home-stats .stat-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;border-radius:50%;background:#e5f3ff;color:#2795ef}.stat-icon svg{width:30px;height:30px}.home-stats .stat-icon-1{background:#e2f8e6;color:#22a64c}.home-stats .stat-icon-2{background:#eee7ff;color:#8154d4}.home-stats .stat-icon-3{background:#fff1d5;color:#e99a12}.home-stats .stat-content{min-width:0}.home-stats .stat-content>span{font-size:11px;white-space:nowrap}.home-stats strong{font-size:24px;margin-top:5px;line-height:1.2}.home-stats small{font-size:11px}.home-columns{grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr)}.home-card .panel-heading h2,.home-card>h2{font-size:16px}.home-card .panel-heading .text-button{font-size:11px;color:#4182ce}.recent-course{gap:12px;align-items:center;padding:13px 0;font-weight:400}.recent-cover{display:grid;place-items:center;width:40px;height:50px;flex:0 0 40px;overflow:hidden;border:1px solid var(--line);border-radius:5px;background:#f0ebe1;color:#8b8172;font-size:10px}.recent-cover img{width:100%;height:100%;object-fit:cover}.recent-description{flex:1;min-width:0}.recent-description strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.recent-course time{font-size:10px;line-height:1.6;color:var(--muted);max-width:105px;text-align:right}.recent-course .status{padding:4px 7px}.home-card>.quick-action{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #f4ede4;padding:15px;margin-top:10px;border-radius:8px;line-height:1.5}.quick-action strong{font-size:12px;display:block}.quick-action small{font-weight:400;display:block;font-size:11px;margin-top:3px;opacity:.75}.quick-action .quick-icon{font-size:24px;line-height:1;flex:0 0 28px;text-align:center}.home-card>.quick-primary{background:linear-gradient(110deg,#f56a16,#ed5108);color:white;border-color:#ef6418}.home-card>.quick-action.secondary{background:#fbf4eb;color:#4a4136}.quick-action.secondary .quick-icon{color:var(--red)}.home-card>.quick-pending{background:#f5f5f5;color:#8d939b;opacity:1;cursor:not-allowed;border-color:#eee}.quick-pending em{font-style:normal;font-size:9px;padding:2px 4px;margin-left:5px;background:#e9ebef;border-radius:3px;color:#9298a1}
@media(max-width:1200px){.home-stats>div{gap:9px;padding:15px 12px}.home-stats .stat-icon{width:39px;height:39px;flex-basis:39px}.stat-icon svg{width:25px;height:25px}.home-columns{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr)}.recent-course time{display:none}.welcome-copy h1{font-size:25px;max-width:360px}.welcome-copy>span{max-width:320px}}
@media(max-width:900px){.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns{grid-template-columns:1fr}.home-welcome{min-height:175px}.welcome-art{width:68%;right:-60px;opacity:.5}.welcome-copy{max-width:none}.welcome-copy h1{font-size:24px}.welcome-copy>span{font-size:12px;max-width:300px}}
@media(max-width:560px){.home-welcome{padding:24px 42px;min-height:172px}.welcome-copy p{font-size:9px}.welcome-copy h1{font-size:21px}.welcome-art{opacity:.28;width:90%;right:-75px}.welcome-copy>span{font-size:11px}.welcome-prev{left:8px}.welcome-next{right:8px}.welcome-arrow{width:24px;height:24px;font-size:20px}.home-stats{gap:9px}.home-stats>div{padding:13px 9px;gap:8px}.home-stats .stat-icon{width:33px;height:33px;flex-basis:33px}.stat-icon svg{width:22px;height:22px}.home-stats .stat-content>span{font-size:10px}.home-stats strong{font-size:21px}.home-card>.quick-action{padding:13px}.recent-course strong{max-width:190px}}
/* Editor reference: detailed navigation, timestamped action bar and file status columns. */
#courseEditor>.editor-tabs{top:106px;width:178px;gap:10px}#courseEditor>.editor-tabs button{display:flex;align-items:flex-start;gap:10px;padding:15px 11px;white-space:normal;font-weight:400}#courseEditor>.editor-tabs button strong{display:block;font-size:13px;color:inherit;line-height:1.5}#courseEditor>.editor-tabs button small{display:block;margin-top:5px;font-size:10px;color:#8c9097;line-height:1.6}#courseEditor>.editor-tabs button[aria-pressed=true] small{color:#c77d4e}.editor-nav-icon{flex:0 0 20px;font-size:18px;line-height:1.4;text-align:center}.editor-header-state{display:flex;align-items:center;gap:12px;flex-shrink:0}.editor-header-state small{font-size:10px;color:var(--muted);white-space:nowrap}.course-header{gap:18px;justify-content:flex-start;align-items:center;margin-bottom:20px}.course-header>div:first-child{min-width:0}.course-header h2{font-size:20px}.course-header .eyebrow{font-size:10px}.editor-section-heading{padding:5px 0 0;margin:0 0 15px}.editor-section-heading h2{margin:0 0 8px;font-size:20px;line-height:1.5}.editor-section-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.editor-actionbar{border-color:#f6e1cb}.editor-actionbar .save-state{font-weight:700}.editor-actionbar small{font-size:10px}.save-actions{align-items:center;gap:10px}.save-actions .footer-updated{margin-right:4px;font-size:10px;white-space:nowrap}.editor-actionbar .save-actions button{padding:10px 19px}.metadata-form>.metadata-heading h3{font-size:14px}.metadata-form>.metadata-heading p{font-size:11px}.form-grid{gap:15px}.form-grid label{font-size:12px}.form-grid input,.form-grid select{padding:10px 12px;min-height:39px}.form-grid textarea{font-size:12px;line-height:1.7}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid[data-editor-section=basic] .wide{grid-column:1/-1}.cover-remove-pending.secondary{display:inline-block;margin:0 0 13px;background:#f3f4f5;border:1px solid var(--line);color:#9a9fa6;opacity:1;cursor:not-allowed;font-size:11px;padding:8px 12px}#coverForm>label{display:block;margin-bottom:9px}.resource-title{margin-bottom:14px}.resource-title>strong{font-size:15px}.resource-file-row{display:grid;grid-template-columns:40px minmax(140px,1.5fr) minmax(105px,.8fr) minmax(90px,.6fr) auto;gap:15px;padding:17px;align-items:center}.file-description small{font-size:10px}.file-description strong{font-size:12px}.conversion-cell,.delivery-cell{display:grid;gap:6px;font-size:11px;min-width:0}.conversion-cell{border-left:1px solid var(--line);padding-left:16px}.conversion-cell>small,.delivery-cell>small{font-size:10px;color:var(--muted);line-height:1.5}.conversion-cell strong{font-size:11px;overflow-wrap:anywhere}.delivery-cell span{font-size:10px}.is-ready{color:var(--green)}.is-missing{color:#b57829}.is-unknown{color:var(--muted)}.resource-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}.resource-actions button{padding:7px 10px;font-size:10px;border:1px solid var(--line);border-radius:6px;white-space:nowrap;background:white;color:var(--ink)}.resource-actions .resource-preview-pending{color:#969ca4;background:#f6f7f8;opacity:1;cursor:not-allowed}.resource-actions .resource-locate.secondary{margin:0;font-size:10px;padding:7px 10px}.resource-overview{margin-top:0}.resource-overview>.resource-title small{font-size:10px}.word-documents>h3{font-size:16px}.word-documents>.form-note{font-size:11px}
@media(max-width:1300px){.resource-file-row{grid-template-columns:38px minmax(130px,1fr) minmax(105px,.7fr)}.delivery-cell{grid-column:2;grid-row:2}.resource-actions{grid-column:3;grid-row:2}.editor-header-state{flex-wrap:wrap;gap:7px}.editor-header-state small{white-space:normal}.footer-updated{display:none!important}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.course-header{flex-wrap:wrap;gap:12px}.editor-header-state{flex-shrink:1}.editor-header-state small{font-size:9px}.resource-actions{justify-content:flex-start}.resource-file-row{gap:12px}.conversion-cell{padding-left:12px}}
@media(max-width:800px){#courseEditor>.editor-tabs{width:auto}#courseEditor>.editor-tabs button{text-align:left;padding:12px;gap:8px}#courseEditor>.editor-tabs button small{font-size:9px}.resource-file-row{grid-template-columns:34px minmax(0,1fr)}.file-description{min-width:0}.conversion-cell{grid-column:2;grid-row:auto;border-left:0;padding:0}.delivery-cell{grid-column:2;grid-row:auto}.resource-actions{grid-column:2;grid-row:auto}.resource-actions button{font-size:10px}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-section-heading h2{font-size:18px}}
@media(max-width:560px){.form-grid[data-editor-section=basic]{grid-template-columns:1fr}.course-header h2{font-size:18px}.editor-header-state{width:100%}.editor-actionbar .save-actions{width:100%;gap:8px}.editor-actionbar .save-actions button{font-size:11px;padding:10px 8px}.editor-section-heading p{font-size:11px}.resource-file-row{padding:13px}.resource-file-row .file-type{width:34px;height:44px}.resource-actions{flex-wrap:wrap}.editor-actionbar small{font-size:9px}#courseEditor>.editor-tabs{gap:6px}#courseEditor>.editor-tabs button strong{font-size:12px}}
/* Compact editor top spacing: actions share the course header row. */
@media(min-width:901px){
.admin-authenticated .shell:has(#dashboardView[data-view=editor]){padding-top:64px}
#courseEditor>.back-to-list{position:absolute;right:142px;top:8px;float:none;margin:0;z-index:2}
#courseEditor>.course-preview-pending{position:absolute;right:0;top:8px;float:none;margin:0;z-index:2}
#courseEditor>.course-header{padding:8px 290px 14px 0;min-height:66px;margin-bottom:14px;clear:none}
#courseEditor>.editor-tabs{top:80px}
.editor-section-heading{padding-top:0;margin-bottom:10px}
}
/* Keep list content close to the fixed 54px masthead. */
@media(min-width:561px){
.admin-authenticated .shell{padding-top:64px}
#dashboardView[data-view=list]{margin-top:0;padding-top:0}
#dashboardView[data-view=list]>.hero{margin-top:0;min-height:0;padding-top:0;padding-bottom:14px}
}
/* Account area: layout ready; unavailable account and notification services labelled. */
.topbar-account{display:none}.admin-authenticated .masthead>.environment{display:none}.admin-authenticated .topbar-account{display:flex;align-items:center;gap:16px}.topbar-popover{position:relative}.topbar-popover summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:3px 5px;color:var(--ink);font-size:12px}.topbar-popover summary::-webkit-details-marker{display:none}.topbar-popover summary>svg{width:21px;height:21px}.admin-avatar{display:block;width:27px;height:27px}.admin-avatar svg{width:100%;height:100%;display:block}.topbar-menu{position:absolute;right:0;top:calc(100% + 12px);min-width:210px;padding:14px;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 24px #24304416;z-index:40;font-size:12px}.topbar-menu>strong{display:block;padding:0 5px 10px}.topbar-menu p{margin:0;padding:9px 5px;color:var(--muted);white-space:nowrap}.topbar-menu span{font-size:10px;color:#8c929b;background:#f0f1f3;border-radius:4px;padding:2px 5px;margin-left:8px}.topbar-menu button{width:100%;text-align:left;padding:10px 5px;background:white;color:var(--ink);font-size:12px;font-weight:400}.topbar-menu button:disabled{opacity:1;color:#969ca4}.topbar-menu button:not(:disabled):hover{background:#fff2e8}.topbar-popover summary:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:5px}
/* The local fixture notice must not reserve a hidden row above the workspace. */
body>div[style*="background:#fff0bd"]{position:fixed;right:0;bottom:0;z-index:50;padding:2px 8px!important;font-size:10px!important;pointer-events:none}
@media(min-width:561px){.admin-authenticated .shell{padding-top:62px}.admin-authenticated .shell:has(#dashboardView[data-view=editor]){padding-top:62px}}
/* V2.1: shared education admin visual system. */
:root{--red:#f4510b;--red-dark:#dc4709;--paper:#f7f8fa;--card:#fff;--ink:#1f2937;--muted:#6b7280;--line:#e5e7eb;--green:#16a34a;--shadow:0 2px 8px rgba(31,41,55,.025)}
.home-card,.course-panel,.workspace,.banner-settings,.metadata-form,.upload-form{border-radius:10px;box-shadow:none}.admin-sidebar{background:#fffdf9}.hero h1,.section-title h1,.home-page-title h1{font-size:24px;line-height:1.4}.hero p:last-child,.section-title p{font-size:13px}.filter-toolbar{gap:10px;align-items:center;flex-wrap:wrap}.filter-toolbar .search{max-width:340px;flex:1 1 240px;height:40px}.filter-toolbar .list-filters{gap:8px;flex-wrap:wrap}.filter-toolbar .list-filters select,.filter-toolbar .panel-actions button,.filter-toolbar .list-filters .text-button{height:40px}.filter-toolbar .panel-actions{margin-left:auto}.filter-context{padding:9px 12px;margin-bottom:12px;border-radius:6px;font-size:12px;color:#9a4b19;background:#fff5ec}.course-table th{font-size:12px;padding:12px}.course-table td{padding:13px 12px}.course-table th:first-child{width:33%}.course-table th:nth-child(5){width:150px}.course-table th:nth-child(6){width:170px}.table-course>span:last-child{max-width:330px}.table-course strong{font-size:13px;line-height:1.5}.table-course small{font-size:11px}.status{display:inline-flex;align-items:center;border-radius:6px;line-height:1.5}.status.published{background:#ecfdf3;color:#15803d}.status.offline{background:#fff7e6;color:#b45309}.resource-attention{display:block;margin:7px auto 0;background:#fff7e6;color:#b45309;font-size:10px;font-weight:500;padding:4px 7px;border-radius:5px;white-space:nowrap}.resource-attention.unknown{background:#f1f3f5;color:#596579}.resource-attention:hover{background:#ffedd5;color:#92400e}.resource-satisfied{display:block;text-align:center;color:#15803d;font-size:10px;margin-top:5px}.course-table progress.resource-incomplete{accent-color:#d97706}.course-table progress{border:0;border-radius:8px;overflow:hidden;background:#e5e7eb}.course-table progress::-webkit-progress-bar{background:#e5e7eb;border-radius:8px}.course-table progress::-webkit-progress-value{background:#16a34a;border-radius:8px}.course-table progress.resource-incomplete::-webkit-progress-value{background:#d97706}.message.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.message{font-size:12px;border-radius:7px}.list-empty{display:grid;gap:8px;text-align:center;color:var(--muted)}.list-empty strong{color:var(--ink)}
.banner-disclosure{border:0;background:transparent}.banner-disclosure>summary{display:none}.banner-disclosure .banner-settings{margin:0;padding:22px;background:#fff;border:1px solid var(--line)}.banner-settings>.metadata-heading{align-items:center;gap:16px;margin-bottom:20px}.banner-settings h2{font-size:23px;margin:0 0 6px}.banner-settings h3{font-size:14px;margin:0 0 12px}.banner-preview-panel{padding:18px;background:#f8f9fb;border:1px solid var(--line);border-radius:9px;margin-bottom:20px}.banner-preview-grid,.banner-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.banner-preview-grid>div{padding:14px;border-radius:8px;background:white;border:1px solid var(--line);min-width:0;display:grid;gap:7px;align-content:start}.banner-preview-grid>div>small{font-size:11px;color:var(--muted)}.banner-preview-grid .banner-cover{height:90px}.banner-preview-grid strong{font-size:13px}.banner-cover{height:132px;width:100%;display:grid;place-items:center;background:#f3efe8;border-radius:6px;overflow:hidden;font-size:12px;color:var(--muted)}.banner-cover img{width:100%;height:100%;object-fit:cover}.banner-config-card{border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0}.banner-slot{display:grid;gap:9px;min-height:215px;align-content:start}.banner-slot strong{font-size:14px;overflow-wrap:anywhere}.banner-slot small{font-size:12px;color:var(--muted)}.banner-slot .status,.banner-preview-grid .status{justify-self:start;font-size:11px;padding:3px 7px}.banner-config-card label{display:block;font-size:12px;margin:14px 0 8px}.banner-config-card select{width:100%;height:40px;min-width:0;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:white;color:var(--ink);font:inherit;font-size:12px}.banner-config-card button{font-size:12px;padding:8px 10px;margin-top:10px;background:#fff;color:var(--muted);border:1px solid var(--line)}.banner-empty{display:grid;place-items:center;min-height:132px;background:#f6f7f9;border:1px dashed #d7dce2;border-radius:7px;font-size:12px;color:var(--muted);padding:15px}.banner-preview-panel>.form-note{margin:12px 0 0}.banner-preview-panel .panel-heading{margin-bottom:12px}.banner-preview-panel .panel-heading h3{margin:0}#bannerDraftState{font-size:11px;color:#9a4b19;background:#fff1e5;padding:4px 8px}#bannerReload{margin-top:16px;font-size:12px}
.taxonomy-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:9px;background:white;margin-bottom:18px}.taxonomy-toolbar p{margin:0 auto 0 0;font-size:12px;line-height:1.7}.taxonomy-toolbar button{font-size:12px;padding:10px 14px}.taxonomy-toolbar .secondary{background:white;border:1px solid var(--line);color:var(--ink)}.taxonomy-grid{gap:18px}.taxonomy-grid .home-card h2{font-size:16px;margin-bottom:12px}.taxonomy-choice{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 10px;background:white;color:var(--ink);border:1px solid transparent;border-bottom-color:#f0f1f3;border-radius:6px;text-align:left;font-size:12px;font-weight:400}.taxonomy-choice small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}.taxonomy-choice>span:last-child{text-align:right}.taxonomy-choice:hover{background:#fff8f2}.taxonomy-choice[aria-pressed=true]{background:#fff2e8;border-color:#fed7aa;color:#c2410c}
.home-welcome{min-height:160px;height:174px;padding:20px 52px;margin-bottom:18px;background:#faf0dc}.welcome-copy{max-width:none}.welcome-copy h1{font-size:25px;margin-bottom:8px;max-width:55%}.welcome-copy>span{font-size:13px;max-width:55%}.welcome-art{width:50%}.home-stats{gap:14px;margin-bottom:18px}.home-stats>div{padding:18px 14px;align-items:flex-start}.home-stats .stat-icon{width:44px;height:44px;flex:0 0 44px}.home-stats strong{font-size:25px;margin-top:6px}.stat-content{min-width:0}.stat-note{display:block;margin-top:7px;font-size:10px!important;line-height:1.6;overflow-wrap:anywhere}.home-columns{gap:18px}.recent-course .recent-description{flex:1;min-width:0}.recent-course .recent-description strong{overflow-wrap:anywhere}.recent-course time{white-space:normal;font-size:10px}.quick-action{box-shadow:none}.home-card .quick-pending{display:none}.quick-action strong{font-size:13px}.quick-action small{font-size:11px}
@media(max-width:1366px){.filter-toolbar .search{max-width:300px;flex-basis:220px}.filter-toolbar .list-filters select{min-width:90px}.filter-toolbar .panel-actions{gap:7px}.course-table th:first-child{width:29%}.banner-config-grid,.banner-preview-grid{gap:12px}.banner-config-card{padding:14px}.home-stats>div{gap:10px}.home-stats .stat-icon{width:36px;height:36px;flex-basis:36px}}
@media(max-width:1100px){.filter-toolbar{flex-direction:row}.filter-toolbar .search{max-width:none;flex:1 1 100%}.filter-toolbar .list-filters{flex:1}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.banner-slot{min-height:205px}.banner-cover{height:110px}.home-columns{grid-template-columns:1fr}.welcome-copy h1{font-size:23px}.recent-course time{max-width:145px}.taxonomy-toolbar p{flex:1 1 100%}}
@media(max-width:800px){.banner-disclosure .banner-settings{padding:16px}.banner-config-grid{grid-template-columns:1fr}.banner-config-card{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.banner-slot{min-height:0}.banner-config-card .banner-cover{height:160px}.banner-preview-grid{gap:8px}.banner-preview-grid>div{padding:8px}.banner-preview-grid strong{font-size:11px}.banner-preview-grid .banner-cover{height:65px}.banner-preview-grid small{font-size:10px}.banner-preview-grid .status{font-size:9px}.banner-preview-grid .banner-empty{min-height:90px;font-size:10px}.taxonomy-grid{grid-template-columns:1fr}.home-welcome{height:160px;min-height:160px;padding:18px 40px}.welcome-copy h1{font-size:20px}.welcome-copy>span{font-size:12px}.home-stats>div{padding:14px 10px}.recent-course{flex-wrap:wrap}.recent-course time{margin-left:46px}.filter-toolbar .panel-actions{margin-left:0}.filter-toolbar .search{min-width:0}.taxonomy-toolbar button{padding:8px 10px}.home-card{padding:16px}}
@media(max-width:560px){.banner-preview-grid{grid-template-columns:1fr}.banner-preview-grid .banner-cover{height:100px}.home-stats{grid-template-columns:1fr 1fr}.home-stats .stat-icon{display:none}.home-welcome{padding:18px 32px}.welcome-art{opacity:.3;width:70%}.welcome-copy h1,.welcome-copy>span{max-width:100%}.banner-settings>.metadata-heading{align-items:stretch}.taxonomy-toolbar button{flex:1}.filter-toolbar .list-filters{width:100%;flex-wrap:wrap}}
/* Adopt reference strengths: compact state shortcuts and data-backed home grouping. */
.course-quick-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px}.quick-filter{font-size:11px;font-weight:500;padding:7px 11px;border:1px solid transparent;border-radius:6px;background:#f3f4f6;color:#4b5563}.quick-filter span{font-variant-numeric:tabular-nums;margin-left:3px}.quick-filter-published{background:#edf9f0;color:#15803d}.quick-filter-offline,.quick-filter-incomplete{background:#fff6e8;color:#b45309}.quick-filter-unknown{background:#f1f0fd;color:#6b55ba}.quick-filter:hover{background:#ffeddc;color:#a53d0c}.quick-filter[aria-pressed=true]{border-color:#f4510b;box-shadow:inset 0 0 0 1px #f4510b}.quick-filter-all[aria-pressed=true]{background:#f4510b;color:white}.course-quick-filters>small{font-size:10px;color:var(--muted);margin-left:auto;line-height:1.5}.home-columns{grid-template-columns:minmax(210px,.95fr) minmax(300px,1.65fr) minmax(210px,.95fr);align-items:start}.home-columns .home-card{padding:18px;min-width:0}.home-columns .panel-heading{gap:8px}.home-columns .panel-heading h2{font-size:15px;margin:0}.home-columns .panel-heading .text-button{font-size:10px;white-space:nowrap}.home-subject-card>.form-note{font-size:10px;margin:10px 0}.subject-distribution-row{width:100%;background:white;color:var(--ink);padding:12px 0;border-radius:0;border-bottom:1px solid #f3f4f6;font-size:11px;font-weight:400;text-align:left}.subject-distribution-row>span{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.subject-distribution-row small{font-size:10px;white-space:nowrap;color:var(--muted)}.subject-distribution-row strong{font-weight:500;overflow-wrap:anywhere}.subject-distribution-row progress{display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;accent-color:#f4510b;background:#f1f3f5}.subject-distribution-row progress::-webkit-progress-bar{background:#f1f3f5}.subject-distribution-row progress::-webkit-progress-value{background:#f4510b;border-radius:6px}.subject-distribution-row:nth-child(3n+2) progress{accent-color:#22a06b}.subject-distribution-row:nth-child(3n+2) progress::-webkit-progress-value{background:#22a06b}.subject-distribution-row:nth-child(3n) progress{accent-color:#6d74d9}.subject-distribution-row:nth-child(3n) progress::-webkit-progress-value{background:#6d74d9}.subject-distribution-row:hover{background:#fffaf6}.home-columns .recent-course{gap:9px;padding:13px 0}.home-columns .recent-course time{flex:0 0 100%;margin-left:46px;max-width:none}.home-columns .recent-course{flex-wrap:wrap}.home-columns .recent-course .recent-description{flex:1 1 110px}.home-columns .recent-course .status{font-size:10px}.home-columns .quick-action{padding:13px 11px;margin-top:10px}
@media(max-width:1250px){.home-columns{grid-template-columns:minmax(210px,1fr) minmax(280px,1.5fr)}.home-columns>.home-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-columns>.home-card:last-child h2{grid-column:1/-1}.home-columns>.home-card:last-child .quick-action{margin:0}.home-columns>.home-card:last-child .quick-pending{display:none}.course-quick-filters>small{flex-basis:100%;margin-left:0}}
@media(max-width:1000px){.home-columns{grid-template-columns:1fr}.home-columns>.home-card:last-child{grid-column:auto}.course-quick-filters{gap:6px}.quick-filter{font-size:10px;padding:6px 8px}}
@media(max-width:560px){.home-columns>.home-card:last-child{grid-template-columns:1fr}.course-quick-filters>small{font-size:9px}}
/* Reference home composition; missing modules are labelled placeholders. */
.topbar-search-pending{display:none}.admin-authenticated .topbar-search-pending{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:6px;padding:5px 9px;background:#f9fafb;width:300px;max-width:50%;color:#8b95a3}.topbar-search-pending input{min-width:0;width:100%;border:0;background:transparent;font-size:11px;padding:0;color:var(--muted)}.topbar-search-pending small,.pending-badge{font-size:9px;white-space:nowrap;color:#7c8594;background:#eef0f4;border-radius:4px;padding:3px 5px}.home-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr)}.home-quick-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-quick-card h2{grid-column:1/-1;margin:0;font-size:15px}.home-columns .home-quick-card .quick-action{margin:0}.home-trend-card,.home-subject-card{min-height:360px}.trend-periods{display:flex;gap:5px;margin:18px 0 12px}.trend-periods button{font-size:10px;font-weight:400;padding:6px 9px;background:#f5f6f8;color:#8a929e;border:1px solid var(--line);opacity:1}.trend-periods button:first-child{color:#a56948;background:#fff3e9;border-color:#ffe2cd}.trend-legend{display:flex;justify-content:center;gap:14px;font-size:9px;color:var(--muted)}.trend-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;background:#f4510b;margin-right:5px}.trend-legend span:last-child:before{background:#20b981}.trend-chart-pending{position:relative;min-height:225px;margin:14px 0 0}.trend-chart-grid{position:absolute;inset:10px 0 15px 16px;background:repeating-linear-gradient(to top,#f0f2f5 0,#f0f2f5 1px,transparent 1px,transparent 44px);border-left:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}.trend-empty-message{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9aa3af}.trend-empty-message>span{font-size:28px}.trend-empty-message strong{font-size:12px;font-weight:500;background:#fff;padding:4px 8px}.trend-empty-message small{font-size:10px;background:#fff;padding:3px 6px;text-align:center}.subject-donut{width:135px;height:135px;border-radius:50%;margin:17px auto 10px;display:grid;place-items:center}.subject-donut>span{width:95px;height:95px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;border-radius:50%}.subject-donut strong{font-size:24px}.subject-donut small{font-size:10px;margin-top:5px;color:var(--muted)}.home-subject-card .subject-distribution-row{padding:9px 0}.home-subject-card .subject-distribution-row progress{height:4px}.admin-sidebar{overflow-y:auto}.admin-sidebar>p{padding-top:20px;flex-shrink:0}
@media(max-width:1250px){.home-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns>.home-card:nth-child(3){grid-column:1/-1}.home-columns>.home-quick-card{grid-template-columns:repeat(2,minmax(0,1fr))}.home-trend-card,.home-subject-card{min-height:340px}}
@media(max-width:900px){.home-columns{grid-template-columns:1fr}.home-columns>.home-card:nth-child(3){grid-column:auto}.home-trend-card,.home-subject-card{min-height:0}.trend-chart-pending{min-height:200px}.topbar-search-pending{width:250px}}
@media(max-width:560px){.admin-authenticated .topbar-search-pending{max-width:55%;padding:4px 6px}.topbar-search-pending small{font-size:8px}.topbar-search-pending input{font-size:10px}.home-columns>.home-quick-card{grid-template-columns:1fr}.admin-sidebar{overflow-y:visible}}
/* Home visual audit fixes: density, matching legend colors and stable line icons. */
.sidebar-brand{display:flex;align-items:center;gap:9px;font-size:14px;padding:0 2px 22px;white-space:nowrap}.sidebar-brand small{font-size:10px;margin-top:5px}.sidebar-logo{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:7px;background:#f4510b;color:#fff}.sidebar-logo svg{width:21px;height:21px}.admin-sidebar nav{gap:5px}.admin-sidebar nav>button{padding:10px 11px;gap:9px;align-items:center;font-size:12px;min-height:36px}.admin-sidebar nav>button>svg{width:16px;height:16px;flex:0 0 16px}.admin-sidebar .nav-pending{gap:8px}.admin-sidebar .nav-pending small{font-size:8px;padding:2px 4px}.home-page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:0}.home-welcome{height:160px;min-height:160px;margin-bottom:14px;padding:18px 54px;background:linear-gradient(110deg,#f7e5c4,#fff7dc 55%,#f4d9a8)}.welcome-copy h1{font-size:25px;color:#29251e;margin-bottom:8px}.welcome-copy>p{display:none}.welcome-art{width:56%;opacity:1}.home-stats{gap:12px;margin-bottom:16px}.home-stats>div{padding:15px 14px;min-height:98px;gap:12px}.home-stats .stat-icon{width:42px;height:42px;flex-basis:42px}.home-stats strong{font-size:26px;color:#1f2937;margin-top:4px;line-height:1.2}.home-stats .stat-content>span{font-size:11px}.home-stats .stat-note{margin-top:6px;font-size:9px!important}.stat-icon-2{background:#fff2d9!important;color:#ee9510!important}.stat-icon-3{background:#f0eaff!important;color:#8b5cf6!important}.home-columns{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.35fr)}.home-columns .home-card{padding:15px}.home-columns .panel-heading h2{font-size:14px}.home-trend-card,.home-subject-card{min-height:278px}.trend-periods{margin:14px 0 10px}.trend-chart-pending{min-height:180px;margin-top:12px}.trend-empty-message>svg{width:27px;height:27px}.home-subject-card>.form-note{font-size:9px;margin:10px 0 15px}#homeSubjectDistribution{display:flex;align-items:center;gap:14px;min-height:190px}.subject-donut{width:124px;height:124px;flex:0 0 124px;margin:0}.subject-donut>span{width:88px;height:88px}.subject-donut strong{font-size:23px}.subject-donut small{font-size:9px}.subject-legend{flex:1;min-width:0;max-height:210px;overflow-y:auto}.home-subject-card .subject-distribution-row{display:grid;grid-template-columns:7px minmax(0,1fr);gap:4px 6px;padding:8px 0;border:0;align-items:center}.subject-distribution-row>i{width:7px;height:7px;border-radius:50%;grid-column:1;grid-row:1}.subject-distribution-row>strong{font-size:10px;grid-column:2;line-height:1.5}.subject-distribution-row>small{grid-column:2;font-size:9px;white-space:normal;line-height:1.5}.home-columns .recent-course{display:grid;grid-template-columns:36px minmax(0,1fr) auto 80px;gap:9px;align-items:center;padding:12px 0;min-height:65px}.home-columns .recent-course .recent-cover{width:36px;height:44px;min-width:0}.home-columns .recent-course .recent-description{min-width:0}.home-columns .recent-course .recent-description strong{font-size:11px;line-height:1.5}.home-columns .recent-course .recent-description small{font-size:9px;line-height:1.5}.home-columns .recent-course .status{font-size:9px;padding:3px 5px;white-space:nowrap}.home-columns .recent-course time{margin:0;max-width:none;font-size:9px;line-height:1.5;text-align:right;white-space:nowrap}.home-columns .home-quick-card{grid-column:1/-1}.home-columns .home-quick-card .quick-action{padding:11px}.home-quick-card h2{font-size:14px}.home-quick-card .quick-action strong{font-size:12px}
@media(max-width:1366px){.home-columns .recent-course{grid-template-columns:32px minmax(0,1fr) auto;gap:7px;min-height:62px}.home-columns .recent-course .recent-cover{grid-row:1/3;width:32px;height:40px}.home-columns .recent-course .recent-description{grid-row:1/3}.home-columns .recent-course time{grid-column:3;grid-row:2;font-size:8px}.home-columns .recent-course .status{grid-column:3;grid-row:1;justify-self:end}.subject-donut{width:106px;height:106px;flex-basis:106px}.subject-donut>span{width:76px;height:76px}#homeSubjectDistribution{gap:10px}.home-stats .stat-note{font-size:8px!important}}
@media(max-width:1250px){.home-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.home-columns>.home-card:nth-child(3){grid-column:1/-1}.home-columns .recent-course{grid-template-columns:36px minmax(0,1fr) auto 90px;min-height:60px}.home-columns .recent-course .recent-cover,.home-columns .recent-course .recent-description,.home-columns .recent-course .status,.home-columns .recent-course time{grid-row:auto;grid-column:auto}.home-columns .recent-course .status{justify-self:start}.home-columns .home-quick-card{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.home-columns{grid-template-columns:1fr}.home-columns>.home-card:nth-child(3){grid-column:auto}.home-trend-card,.home-subject-card{min-height:0}.home-welcome{padding:18px 42px}.welcome-copy h1{font-size:21px}.sidebar-brand{font-size:12px;gap:6px}.sidebar-logo{width:24px;height:24px;flex-basis:24px}.sidebar-logo svg{width:18px;height:18px}.admin-sidebar nav>button{font-size:11px;padding:9px 7px;gap:7px}.subject-donut{width:135px;height:135px;flex-basis:135px}.subject-donut>span{width:95px;height:95px}.subject-distribution-row>strong{font-size:12px}.subject-distribution-row>small{font-size:10px}.home-stats>div{padding:14px}.home-stats .stat-note{font-size:9px!important}}
@media(max-width:560px){.sidebar-brand{display:none}.admin-sidebar nav>button{padding:8px}.home-columns .home-quick-card{grid-template-columns:1fr}.home-columns .recent-course{grid-template-columns:32px minmax(0,1fr) auto}.home-columns .recent-course .recent-cover,.home-columns .recent-course .recent-description{grid-row:1/3}.home-columns .recent-course .status{grid-column:3;grid-row:1}.home-columns .recent-course time{grid-column:3;grid-row:2;font-size:8px}.welcome-copy h1{font-size:20px}.home-stats>div{min-height:90px;padding:12px}.home-stats strong{font-size:23px}}
/* Home has three primary cards only; the recent card is not a quick-action grid. */
.home-columns>.home-card:last-child{display:block;grid-column:auto}
@media(min-width:901px) and (max-width:1250px){.home-columns>.home-card:last-child{grid-column:1/-1}}
/* Course list reference: header search, two toolbar rows, compact table and numbered pages. */
.course-header-search{display:none}.admin-authenticated:has(#dashboardView[data-view=list]) .course-header-search{display:block;width:360px;max-width:55%}.admin-authenticated:has(#dashboardView[data-view=list]) .topbar-search-pending{display:none}.course-header-search .search{margin:0;height:34px;border-radius:6px;font-size:11px;padding:7px 12px;background:#f9fafb}.course-header-search .search:focus{background:white}#dashboardView[data-view=list]>.hero{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#courseListPanel{padding:0;border:0;background:transparent;box-shadow:none}.filter-toolbar{margin-bottom:14px;gap:10px}.filter-toolbar .list-filters{flex:1;gap:9px}.filter-toolbar .list-filters label{flex:0 1 120px}.filter-toolbar .list-filters select{min-width:0;width:100%;height:36px;padding:7px 10px;font-size:11px;border:1px solid #e5e7eb;background:white}.filter-toolbar .list-filters .text-button{height:36px;background:white;min-width:65px;padding:7px 16px;border:1px solid var(--line);font-size:11px;color:var(--ink)}.filter-toolbar .panel-actions button{height:36px;font-size:11px;padding:7px 16px}.course-quick-filters{margin-bottom:14px}.quick-filter{padding:7px 12px}.quick-filter-draft:disabled{opacity:1;color:#8b93a1;background:#eff1f4;border:1px solid #e5e7eb}.quick-filter-draft>span{font-size:9px}.course-quick-filters>small{font-size:9px}.course-table-scroll{border:1px solid var(--line);border-radius:8px;background:white}.course-table{min-width:810px;table-layout:auto}.course-table th{font-size:11px;padding:10px 9px}.course-table td{padding:10px 9px}.course-table th:first-child{width:33px}.course-table th:nth-child(2){width:31%}.course-table th:nth-child(3){width:105px}.course-table th:nth-child(4){width:95px}.course-table th:nth-child(5){width:130px}.course-table th:nth-child(6){width:155px}.course-table th:last-child{width:112px}.selection-col{text-align:center}.selection-col input{width:12px;height:12px;margin:0;cursor:not-allowed}.selection-col small{display:block;font-size:7px;white-space:nowrap;color:#9ca3af;margin-top:3px}.table-course{min-width:180px;gap:10px}.course-table .course-thumb{width:36px;height:44px;flex-basis:36px;border-radius:5px;font-size:9px}.table-course strong{font-size:12px;line-height:1.5}.table-course small{font-size:9px;margin-top:4px;line-height:1.5}.subject-grade{display:grid;gap:4px;font-size:11px}.subject-grade strong{font-weight:400;color:#4b5563}.subject-grade small{font-size:10px;color:var(--muted)}.course-table .status{font-size:10px;padding:4px 7px}.course-table time{font-size:10px;white-space:nowrap}.resource-ratio{font-size:10px}.resource-satisfied{display:none}.course-table progress{height:6px;width:82px;margin-top:5px}.resource-attention{font-size:8px;padding:2px 5px;margin-top:4px}.course-table .table-edit{color:#ed4c0a;border-color:#ffd0b9;background:#fffdfa;padding:6px 11px;font-size:11px;min-width:45px;border-radius:5px}.table-actions{white-space:nowrap}.course-more{display:inline-block;vertical-align:top;margin-left:6px;white-space:normal}.course-more>summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:5px;padding:4px 8px;font-size:16px;line-height:20px;background:white;color:#455063}.course-more>summary::-webkit-details-marker{display:none}.course-more>div{padding:5px 0 0}.course-more button{display:block;border:1px solid var(--line);background:#fff7f0;color:#b44819;font-size:10px;font-weight:400;padding:6px;border-radius:4px}.course-more>summary:focus-visible{outline:2px solid #f4510b;outline-offset:2px}.list-pagination{display:flex;align-items:center;gap:8px;padding:13px 0;margin:0;flex-wrap:wrap}.list-pagination .list-count{margin:0 auto 0 0;font-size:10px}.list-pagination #prevPage{font-size:10px;padding:7px 9px;border:1px solid var(--line);background:white;border-radius:5px}.list-pagination #nextPage{font-size:10px;padding:7px 9px;border:1px solid var(--line);background:white;border-radius:5px;order:3}.page-numbers{display:flex;gap:4px;align-items:center;order:2}.page-numbers button{padding:7px 9px;min-width:29px;font-size:11px;font-weight:400;border:1px solid var(--line);background:white;color:var(--ink);border-radius:5px}.page-numbers button[aria-current=page]{background:#f4510b;color:#fff;border-color:#f4510b}.page-numbers span{font-size:11px;color:var(--muted);padding:0 3px}.list-pagination .page-size-label{order:4;margin-left:auto;font-size:10px}.page-size-label select{padding:7px;font-size:10px}
@media(max-width:1100px){.filter-toolbar .list-filters{flex:1 1 100%}.filter-toolbar .list-filters label{flex:1 1 100px}.filter-toolbar .panel-actions{margin-left:auto}.course-quick-filters>small{flex-basis:100%}.list-pagination .list-count{flex-basis:100%;margin-bottom:5px}.filter-toolbar{flex-direction:row}}
@media(max-width:800px){.course-header-search .search{font-size:10px}.course-table{min-width:780px}.list-pagination{gap:5px}.page-numbers{gap:3px}.page-numbers button{padding:6px 7px;min-width:25px}.filter-toolbar .list-filters label{flex:1 1 38%}.filter-toolbar .panel-actions button{padding:7px 12px}.admin-authenticated:has(#dashboardView[data-view=list]) .course-header-search{max-width:55%;width:280px}}
/* Keep pagination in view while only the course table scrolls. */
.admin-authenticated .shell:has(#dashboardView[data-view=list]){height:100vh;height:100dvh;padding-bottom:14px;overflow:hidden}
#dashboardView[data-view=list]{height:100%;min-height:0;display:flex;flex-direction:column}
#dashboardView[data-view=list] #courseLayout{display:flex;flex:1 1 auto;min-height:0;margin:0}
#dashboardView[data-view=list] #courseListPanel{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0;height:100%;overflow:hidden}
#dashboardView[data-view=list] .filter-toolbar,#dashboardView[data-view=list] .course-quick-filters,#dashboardView[data-view=list] #listMessage,#dashboardView[data-view=list] #extraFilterSummary{flex-shrink:0}
#dashboardView[data-view=list] .course-table-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
#dashboardView[data-view=list] .course-table thead th{position:sticky;top:0;z-index:2;background:#f7f8fa;box-shadow:0 1px 0 var(--line)}
#dashboardView[data-view=list] .list-pagination{flex:0 0 auto;background:var(--paper);padding:12px 0 4px}
@media(max-width:800px){.admin-authenticated .shell:has(#dashboardView[data-view=list]){padding-bottom:12px}#dashboardView[data-view=list] .list-pagination{padding-top:9px}#dashboardView[data-view=list] .course-quick-filters{margin-bottom:9px}}
/* Course list density refinement after screenshot review. */
.course-table{table-layout:fixed;min-width:820px}.course-table th:first-child{width:32px}.course-table th:nth-child(2){width:30%}.course-table th:nth-child(3){width:12%}.course-table th:nth-child(4){width:11%}.course-table th:nth-child(5){width:14%}.course-table th:nth-child(6){width:18%}.course-table th:last-child{width:112px}.course-table th{padding:9px 10px;font-size:11px}.course-table td{padding:8px 10px}.course-table .table-course{min-width:0;gap:9px}.table-course>span:last-child{min-width:0;max-width:100%}.course-table .course-thumb{width:32px;height:40px;flex-basis:32px;font-size:8px;background:#f1f2f4;color:#929aa5;border:1px solid #e8eaee}.table-course strong{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.table-course small{font-size:9px;margin-top:3px;color:#89919d}.subject-grade{gap:3px;font-size:10px}.subject-grade small{font-size:9px}.course-table .status{font-size:9px;padding:3px 6px}.course-table .table-edit{font-size:10px;padding:5px 10px;min-width:42px}.course-more>summary{font-size:14px;line-height:18px;padding:4px 7px}.course-table time{font-size:9px;white-space:normal;overflow-wrap:anywhere}.resource-ratio{font-size:9px}.course-table progress{width:70px;height:5px;margin-top:4px}.course-table .selection-col small{display:none}.course-table th.selection-col:has(small){position:relative}.course-table th.selection-col:has(small):hover small{display:block;position:absolute;left:5px;top:30px;padding:4px 6px;background:#fff;border:1px solid var(--line);border-radius:4px;font-size:9px;z-index:4}.course-quick-filters{gap:7px;margin-bottom:10px}.quick-filter{background:#f1f3f5;color:#667180;border:1px solid #e9ecf0;font-size:10px;padding:6px 10px}.quick-filter-published,.quick-filter-offline,.quick-filter-incomplete,.quick-filter-unknown{background:#f1f3f5;color:#667180}.quick-filter[aria-pressed=true]{background:#fff1e7;color:#d3460a;border-color:#ffc5a4;box-shadow:none}.quick-filter-all[aria-pressed=true]{background:#f4510b;color:#fff;border-color:#f4510b}.quick-filter-draft:disabled{border-color:transparent;background:transparent;color:#a0a7b0}.quick-filter:hover:not(:disabled){background:#fff0e5;color:#c34310;border-color:#ffd4bd}.course-quick-filters>small{color:#99a0ab;font-size:8px}.filter-toolbar{margin-bottom:11px}.filter-toolbar .list-filters label{flex:0 1 112px}.filter-toolbar .list-filters select,.filter-toolbar .list-filters .text-button,.filter-toolbar .panel-actions button{height:34px;font-size:10px}.filter-toolbar .panel-actions button{padding:6px 14px}#courseListPanel #listMessage:not(.error){font-size:10px;margin:3px 0 10px;color:#929aa5}.list-pagination .list-count{font-size:9px;color:#89919e}.page-numbers button{font-size:10px;padding:6px 8px;min-width:28px}.list-pagination #prevPage,.list-pagination #nextPage{font-size:10px;padding:6px 9px}.course-table tr:last-child td{border-bottom:0}
@media(min-width:1600px){.course-table th:nth-child(2){width:29%}.course-table th:nth-child(3){width:12%}.course-table th:nth-child(4){width:11%}.course-table th:nth-child(5){width:14%}.course-table th:nth-child(6){width:19%}.course-table th:last-child{width:122px}}
@media(max-width:1100px){.filter-toolbar .list-filters label{flex:1 1 90px}.course-quick-filters>small{display:none}}
/* Course editor reference: compact header, left section rail and paired cover/summary. */
.admin-authenticated:has(#dashboardView[data-view=editor]) .masthead{display:none}.admin-authenticated .shell:has(#dashboardView[data-view=editor]){padding-top:74px;padding-bottom:110px}#editorWorkspace{border:1px solid var(--line);border-radius:9px;padding:20px;background:#fff;box-shadow:none}#courseEditor{padding-left:152px;min-height:calc(100dvh - 210px)}#courseEditor>.course-header{position:fixed;left:184px;right:0;top:0;z-index:20;height:54px;min-height:54px;padding:0 265px 0 22px;margin:0;background:#fff;border-bottom:1px solid var(--line);gap:14px;flex-wrap:nowrap}#courseEditor .course-header h2{font-size:14px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}#courseEditor .course-header h2:before{content:'编辑课程 · ';font-weight:500}#courseEditor .course-header .eyebrow{display:none}#courseEditor .editor-header-state{gap:9px}#courseEditor .editor-header-state .status{font-size:10px;padding:3px 6px}#courseEditor .editor-header-state small{font-size:9px;color:#929aa5}#courseEditor>.back-to-list{position:fixed;top:10px;right:20px;z-index:22;margin:0;padding:7px 12px;height:33px;font-size:10px}#courseEditor>.course-preview-pending{position:fixed;top:10px;right:124px;z-index:22;margin:0;padding:7px 10px;height:33px;font-size:10px}#courseEditor>.editor-tabs{position:absolute;left:0;top:0;width:130px;gap:8px;border-right:1px solid #f0f1f4;padding-right:12px;min-height:100%;align-content:start}#courseEditor>.editor-tabs button{padding:11px 9px;gap:8px;border-radius:6px;min-height:38px;font-size:11px;position:relative}#courseEditor>.editor-tabs button strong{font-size:11px;font-weight:600}#courseEditor>.editor-tabs button small{display:none}#courseEditor>.editor-tabs button[aria-pressed=true]{background:#fff2e8;color:#ed4b0a}#courseEditor>.editor-tabs button[aria-pressed=true]:before{content:'';position:absolute;left:0;top:8px;bottom:8px;width:2px;background:#f4510b;border-radius:3px}.editor-nav-icon{width:17px;flex-basis:17px;line-height:1}.editor-nav-icon svg{width:17px;height:17px;display:block}.editor-section-heading{margin-bottom:12px;padding:0}.editor-section-heading h2{font-size:18px;margin-bottom:5px}.editor-section-heading p{font-size:10px;line-height:1.6}#metadataForm{border:0;box-shadow:none;background:transparent;margin:0;padding:0}#metadataForm>.metadata-heading{position:static;margin:0 0 12px;padding:8px 10px;background:#fafafa;border:1px solid #edf0f3;border-radius:5px}#metadataForm>.metadata-heading h3{display:none}#metadataForm>.metadata-heading p{font-size:9px;margin:0;line-height:1.6;color:#8b929e}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.form-grid label{font-size:11px}.form-grid input,.form-grid select{min-height:34px;height:34px;padding:7px 10px;font-size:11px}.form-grid textarea{font-size:11px}.advanced-course-fields{border:1px solid #edf0f3;border-radius:5px;background:#fafbfc;padding:9px 11px}.advanced-course-fields>summary{font-size:10px;cursor:pointer;color:#737e8b}.advanced-course-fields summary small{font-size:9px;margin-left:8px;font-weight:400;color:#9ba2ac}.advanced-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:13px}.advanced-fields-grid label{display:grid;gap:7px}.cover-summary-row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:6px 22px;margin-top:18px}.cover-summary-row #coverForm{display:grid;grid-template-columns:80px minmax(0,1fr);gap:7px 12px;align-content:start;background:transparent;border:0;padding:0;margin:0;grid-row:1/3}.cover-summary-row #coverForm>.metadata-heading{grid-column:1/-1;display:block;padding:0;margin:0;border:0;background:transparent}.cover-summary-row #coverForm h3{font-size:11px;margin:0 0 3px}.cover-summary-row #coverForm>.metadata-heading p{font-size:9px;line-height:1.5;margin:0}.cover-summary-row #coverStatus{font-size:9px;color:var(--muted)}.cover-summary-row #coverPreview{grid-column:1;grid-row:2/7;margin:0;padding:0;display:block}.cover-summary-row #coverPreview img{width:80px;height:98px;border-radius:6px;object-fit:cover}.cover-summary-row #coverPreview>span:not(.cover-placeholder){display:none}.cover-summary-row .cover-placeholder{min-width:0;width:80px;min-height:98px;font-size:9px;padding:8px;text-align:center}.cover-summary-row #coverForm>.cover-remove-pending{grid-column:2;margin:0;justify-self:start;padding:5px 7px;font-size:9px;order:0}.cover-summary-row #coverForm>label{grid-column:2;font-size:9px;margin:0;line-height:1.5}.cover-summary-row #coverFile{grid-column:2;width:100%;min-width:0;font-size:9px;color:#8b929e}.cover-summary-row #coverFile::file-selector-button{border:1px solid var(--line);border-radius:4px;background:#f9fafb;color:#4b5563;font:inherit;padding:5px 7px;cursor:pointer}.cover-summary-row #coverUploadButton{grid-column:2;justify-self:start;padding:6px 10px;font-size:10px;border-radius:5px}.cover-summary-row #coverMessage{grid-column:1/-1;font-size:10px}.cover-summary{grid-column:2;font-size:11px;display:grid;gap:9px;align-content:start}.cover-summary textarea{width:100%;min-height:118px;resize:vertical;padding:10px;border:1px solid var(--line);border-radius:6px;font:inherit;font-size:11px;line-height:1.7;color:var(--ink);background:#fff}.cover-summary textarea:disabled{background:#f9fafb;color:#8b929e}.summary-counter{grid-column:2;margin:0;text-align:right;font-size:9px;color:#8b929e}.editor-actionbar{padding:11px 15px;bottom:14px;border-radius:8px}.editor-actionbar .save-state{font-size:11px}.editor-actionbar small{font-size:9px}.editor-actionbar .save-actions button{font-size:10px;padding:8px 14px}.editor-actionbar .footer-updated{font-size:9px}
@media(max-width:1300px){#courseEditor .editor-header-state small{display:none}.cover-summary-row{gap:6px 16px}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#editorWorkspace{padding:16px}#courseEditor{padding-left:130px}#courseEditor>.editor-tabs{width:114px;padding-right:10px}#courseEditor>.editor-tabs button{padding:10px 7px;gap:6px}#courseEditor>.course-header{padding-right:246px;gap:8px}.cover-summary-row{grid-template-columns:1fr}.cover-summary-row #coverForm{grid-row:auto;grid-column:1}.cover-summary,.summary-counter{grid-column:1}.cover-summary{margin-top:12px}.form-grid[data-editor-section=basic]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#courseEditor{padding-left:0}#courseEditor>.course-header{left:148px;padding-left:14px}#courseEditor>.editor-tabs{position:static;width:auto;min-height:0;border:0;padding:0;margin:0 0 18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#courseEditor>.editor-tabs button{text-align:left;padding:10px}.course-header .editor-header-state{display:none}#courseEditor .course-header h2{font-size:12px}.advanced-fields-grid{grid-template-columns:1fr}.cover-summary-row #coverForm{grid-template-columns:90px minmax(0,1fr)}.editor-actionbar .footer-updated{display:none}}
@media(max-width:560px){#courseEditor>.course-header{left:0;top:98px;padding-right:0;padding-left:12px;height:auto;min-height:40px}#courseEditor>.back-to-list{top:105px;right:10px;height:28px;padding:5px 8px;font-size:9px}#courseEditor>.course-preview-pending{top:105px;right:105px;height:28px;padding:5px 7px;font-size:9px}#courseEditor .course-header h2{max-width:42%;font-size:11px}.admin-authenticated .shell:has(#dashboardView[data-view=editor]){padding-top:154px}.form-grid[data-editor-section=basic]{grid-template-columns:1fr}.editor-actionbar .save-actions button{font-size:10px;padding:8px}.editor-section-heading h2{font-size:17px}}
/* Save actions align with the editable content, not the section navigation. */
#courseEditor>.editor-actionbar{left:385px;right:49px;bottom:16px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e8eaed;background:#fff;border-radius:7px;box-shadow:0 3px 16px #2631420b}
#courseEditor>.editor-actionbar>div:first-child{min-width:0;flex:1}.editor-actionbar .save-state{display:flex;align-items:center;gap:7px;margin:0 0 4px;color:#7b8491;font-size:11px;font-weight:500;line-height:1.5}.editor-actionbar .save-state:before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}.editor-actionbar #editorActionHint{display:block;font-size:9px;color:#929aa5;line-height:1.6;white-space:normal}.editor-actionbar[data-save-state=dirty]{border-color:#ffdfc8}.editor-actionbar[data-save-state=dirty] .save-state{color:#df510e}.editor-actionbar[data-save-state=error]{border-color:#fecaca}.editor-actionbar[data-save-state=error] .save-state,.editor-actionbar[data-save-state=error] #editorActionHint{color:#c83939}.editor-actionbar[data-save-state=success] .save-state{color:#16834d}.editor-actionbar[data-save-state=saving] .save-state{color:#bc631c}.editor-actionbar .save-actions{flex:0 0 auto;align-items:center;gap:8px}.editor-actionbar .save-actions button{height:34px;padding:7px 14px;font-size:11px;white-space:nowrap;border-radius:5px}.editor-actionbar #cancelEditor{color:#667180;background:#fff;border:1px solid #e5e7eb}.editor-actionbar #cancelEditor:hover{background:#f7f8fa}.editor-actionbar #saveMetadataButton{padding-left:19px;padding-right:19px}.editor-actionbar #saveMetadataButton:disabled{opacity:1;background:#f0f1f4;color:#a0a7b1;border-color:#e5e7eb}
@media(max-width:1100px){#courseEditor>.editor-actionbar{left:375px;right:39px}}
@media(max-width:1000px){#courseEditor>.editor-actionbar{left:349px;right:35px}}
@media(max-width:800px){#courseEditor>.editor-actionbar{left:179px;right:31px;gap:12px;padding:10px 12px}.editor-actionbar .save-actions button{padding:7px 10px;font-size:10px}.editor-actionbar #editorActionHint{font-size:8px}.editor-actionbar #saveMetadataButton{padding-left:12px;padding-right:12px}}
@media(max-width:560px){#courseEditor>.editor-actionbar{left:27px;right:27px;bottom:10px;flex-wrap:wrap;gap:8px}.editor-actionbar .save-actions{margin-left:auto;width:auto}.editor-actionbar .save-state{font-size:10px}.editor-actionbar #editorActionHint{font-size:8px}}
/* Fit the active editor section into the available screen without unused outer space. */
.admin-authenticated .shell:has(#dashboardView[data-view=editor]){height:100vh;height:100dvh;padding-top:64px;padding-bottom:12px;overflow:hidden}
#dashboardView[data-view=editor]{height:100%;min-height:0;display:flex;flex-direction:column}
#dashboardView[data-view=editor] #courseLayout{display:flex;flex:1 1 auto;min-height:0;margin:0;padding-bottom:76px}
#dashboardView[data-view=editor] #editorWorkspace{flex:1 1 auto;min-width:0;min-height:0;height:100%;padding:16px 20px;overflow:auto;overscroll-behavior:contain}
#courseEditor{min-height:100%;padding-left:152px;padding-bottom:12px}
#courseEditor>.editor-tabs{min-height:100%;height:auto}
.editor-section-heading{margin-bottom:10px}.editor-section-heading h2{font-size:17px;margin-bottom:4px}.editor-section-heading p{font-size:10px}
#metadataForm>.metadata-heading{padding:6px 9px;margin-bottom:12px}#metadataForm>.metadata-heading p{line-height:1.5}
#metadataFields{margin:0;padding:0;border:0;min-width:0}#metadataFields>.form-grid{margin:0;gap:11px 14px}.form-grid label{display:grid;gap:6px;line-height:1.5}.form-grid input,.form-grid select{margin:0}
.advanced-course-fields{padding:7px 9px}.advanced-course-fields>summary{line-height:1.5}.advanced-fields-grid{padding-top:10px;gap:10px}
.cover-summary-row{margin-top:14px;column-gap:24px;row-gap:5px;align-items:start}.cover-summary-row #coverForm{grid-template-columns:80px minmax(0,1fr);gap:6px 12px}.cover-summary-row #coverForm>.metadata-heading{margin-bottom:3px}.cover-summary-row #coverFile{padding:5px 7px;min-height:31px;height:auto;border:1px solid var(--line);border-radius:5px;background:#fafbfc}.cover-summary-row #coverForm>label{font-weight:400;color:#87909c;font-size:9px}.cover-summary-row #coverPreview img,.cover-summary-row .cover-placeholder{height:100px;min-height:100px}.cover-summary textarea{height:132px;min-height:110px;max-height:240px;font-size:11px}.summary-counter{font-size:9px;padding:0}.cover-summary-row #coverUploadButton{padding:6px 10px;font-size:10px}.cover-summary-row #coverForm>.cover-remove-pending{padding:4px 6px}
#courseEditor>.editor-actionbar{bottom:12px;padding:9px 13px;box-shadow:0 2px 12px #26314208}
@media(min-width:1001px){.cover-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:1000px){#dashboardView[data-view=editor] #editorWorkspace{padding:14px 16px}#courseEditor{padding-left:130px}.cover-summary-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 16px}.cover-summary-row #coverForm{grid-column:1;grid-row:1/3;grid-template-columns:68px minmax(0,1fr);gap:6px 9px}.cover-summary-row #coverPreview img,.cover-summary-row .cover-placeholder{width:68px;height:92px;min-height:92px}.cover-summary,.summary-counter{grid-column:2}.cover-summary{margin-top:0}.cover-summary-row #coverForm>.metadata-heading p{font-size:8px}}
@media(max-width:800px){#courseEditor{padding-left:0}#courseEditor>.editor-tabs{min-height:0;height:auto;margin-bottom:12px}#dashboardView[data-view=editor] #courseLayout{padding-bottom:80px}.cover-summary-row{grid-template-columns:1fr}.cover-summary-row #coverForm{grid-column:1;grid-row:auto}.cover-summary,.summary-counter{grid-column:1}.cover-summary{margin-top:10px}#courseEditor>.editor-actionbar{bottom:12px}}
@media(max-width:560px){.admin-authenticated .shell:has(#dashboardView[data-view=editor]){padding-top:148px;padding-bottom:8px}#dashboardView[data-view=editor] #courseLayout{padding-bottom:104px}#dashboardView[data-view=editor] #editorWorkspace{padding:12px}#courseEditor>.editor-actionbar{bottom:8px}.form-grid input,.form-grid select{font-size:12px}}
/* Save controls belong inside the editor card beneath the form. */
#dashboardView[data-view=editor] #courseLayout{padding-bottom:0}
#courseEditor>.editor-actionbar{position:static;left:auto;right:auto;top:auto;bottom:auto;width:100%;margin:20px 0 0;padding:14px 0 2px;border:0;border-top:1px solid #edf0f3;border-radius:0;background:transparent;box-shadow:none;z-index:auto}
#courseEditor>.editor-actionbar[data-save-state]{border-top-color:#edf0f3}
#courseEditor{padding-bottom:4px}
@media(max-width:560px){#courseEditor>.editor-actionbar{margin-top:16px;padding-top:12px}}
/* Resource section: concise status rows and on-demand editing panels. */
.resource-summary-strip{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:12px;background:#f8faf9;border:1px solid #e7eee9;border-radius:6px;font-size:11px;color:#687580}.resource-summary-strip strong{margin-left:6px;color:#16834a}.resource-summary-strip progress{width:110px;height:5px;border:0;border-radius:5px;overflow:hidden;accent-color:#16a34a}.resource-summary-strip progress::-webkit-progress-bar{background:#e3eae5}.resource-summary-strip progress::-webkit-progress-value{background:#16a34a}.resource-summary-strip>small{font-size:9px;color:#8a959f;margin-left:auto}.resource-file-list{gap:9px}.resource-file-row{grid-template-columns:34px minmax(160px,1fr) 125px 98px auto;gap:13px;padding:12px 14px;border-radius:7px;min-height:76px}.resource-file-row .file-type{width:34px;height:43px;flex-basis:34px;font-size:9px;border-radius:5px}.resource-file-row .file-description strong{font-size:11px}.resource-file-row .file-description small{font-size:9px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}.resource-file-row .conversion-cell{padding-left:13px;gap:4px}.resource-file-row .conversion-cell strong{font-size:10px}.resource-file-row .conversion-cell>small,.resource-file-row .delivery-cell>small,.resource-file-row .delivery-cell span{font-size:9px}.resource-file-row .delivery-cell{gap:4px}.resource-file-row .resource-actions{gap:7px}.resource-file-row .resource-actions button{font-size:9px;padding:6px 9px;border-radius:5px}.resource-overview{margin-bottom:16px}.resource-editor-panel{margin-top:10px;border:1px solid var(--line);border-radius:7px;background:#fff}.resource-editor-panel>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:12px 14px;cursor:pointer;font-size:11px;color:#414d5d}.resource-editor-panel>summary::-webkit-details-marker{display:none}.resource-editor-panel>summary:before{content:'';width:5px;height:5px;border-top:1.5px solid #8b95a1;border-right:1.5px solid #8b95a1;transform:rotate(45deg);margin-right:2px}.resource-editor-panel[open]>summary:before{transform:rotate(135deg)}.resource-editor-panel>summary>small{font-size:9px;font-weight:400;color:#8b95a1}.resource-editor-panel>summary>span{margin-left:auto;font-size:9px;color:#9ba2ad}.resource-editor-panel[open]>summary{background:#fafbfc;border-bottom:1px solid #edf0f3}.resource-editor-panel[open]>summary>span{display:none}.resource-editor-panel[open]>summary:after{content:'收起';margin-left:auto;font-size:9px;color:#9ba2ad}.resource-editor-panel>summary:focus-visible{outline:2px solid #f4510b;outline-offset:2px;border-radius:6px}.resource-editor-panel #uploadForm,.resource-editor-panel #readingForm{border:0;margin:0;padding:14px;border-radius:0;box-shadow:none}.resource-editor-panel #uploadForm{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:10px 14px;align-items:end}.resource-editor-panel .drop-zone{grid-column:1/-1;min-height:92px;padding:16px;gap:6px;border:1px dashed #e7cdb6;border-radius:7px;background:#fffaf5}.resource-editor-panel .upload-icon{width:28px;height:28px;font-size:18px;margin:0}.resource-editor-panel .drop-zone strong{font-size:12px}.resource-editor-panel .drop-zone span,.resource-editor-panel .drop-zone em{font-size:10px}.resource-editor-panel #uploadForm>label{font-size:10px}.resource-editor-panel #previewLimit{grid-column:1;width:110px;height:33px;font-size:11px;padding:6px 9px}.resource-editor-panel #uploadButton{grid-column:2;grid-row:2/4;font-size:10px;padding:8px 12px;height:34px}.resource-editor-panel #progressWrap,.resource-editor-panel #uploadMessage{grid-column:1/-1}.resource-editor-panel .word-documents{margin:0;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.resource-editor-panel .word-documents>h3{display:none}.resource-editor-panel .word-documents>.form-note{grid-column:1/-1;font-size:9px;margin:0}.resource-editor-panel .word-card{margin:0;padding:12px;border-radius:6px;background:#fcfcfd;border:1px solid #e8ebef;min-width:0}.resource-editor-panel .word-heading{gap:10px;align-items:flex-start}.resource-editor-panel .word-heading strong{font-size:11px}.resource-editor-panel .word-heading span{font-size:9px;line-height:1.6;text-align:right;overflow-wrap:anywhere}.resource-editor-panel .word-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.resource-editor-panel .word-form input{min-width:0;flex:1;width:100%;font-size:9px;padding:5px;border:1px solid var(--line);background:white;border-radius:5px}.resource-editor-panel .word-form button{font-size:10px;padding:7px 10px;border-radius:5px;white-space:nowrap}.resource-editor-panel .word-preview{font-size:11px;max-height:240px;overflow:auto}.resource-editor-panel .metadata-heading{margin:0 0 13px;padding:0;background:none;position:static;border:0;gap:12px;align-items:flex-start}.resource-editor-panel .metadata-heading h3{font-size:13px;margin:0 0 5px}.resource-editor-panel .metadata-heading p{font-size:9px;margin:0;line-height:1.6}.resource-editor-panel #saveReadingButton{font-size:10px;padding:8px 12px;background:#f4510b;color:#fff;border:0;white-space:nowrap}.resource-editor-panel #readingIntro{height:90px;min-height:70px}.resource-editor-panel #readingText{height:210px;min-height:140px}.resource-editor-panel #readingForm textarea{font-size:11px;line-height:1.7}.resource-editor-panel #readingForm .form-grid{gap:13px}
@media(max-width:1300px){.resource-file-row{grid-template-columns:32px minmax(130px,1fr) 115px}.resource-file-row .delivery-cell{grid-column:2;grid-row:2;display:flex;align-items:center;gap:8px}.resource-file-row .resource-actions{grid-column:3;grid-row:2}.resource-file-row .delivery-cell:empty{display:none}.resource-file-row{padding:11px 12px;gap:9px}.resource-editor-panel .word-documents{grid-template-columns:1fr}}
@media(max-width:800px){.resource-summary-strip{flex-wrap:wrap;gap:8px}.resource-summary-strip>small{flex-basis:100%;margin-left:0}.resource-file-row{grid-template-columns:30px minmax(0,1fr)}.resource-file-row .conversion-cell{grid-column:2;grid-row:auto;border:0;padding:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.resource-file-row .delivery-cell,.resource-file-row .resource-actions{grid-column:2;grid-row:auto}.resource-file-row .resource-actions{justify-content:flex-start}.resource-editor-panel>summary{flex-wrap:wrap;gap:7px}.resource-editor-panel>summary>small{font-size:8px}.resource-editor-panel #uploadForm{grid-template-columns:1fr}.resource-editor-panel #uploadButton{grid-column:1;grid-row:auto;width:auto;justify-self:start}.resource-editor-panel .metadata-heading{flex-wrap:wrap}.resource-editor-panel .word-form button{width:auto}}
/* Resource management is the shared course authoring destination. */
#resourceHub .section-title{margin-bottom:18px}#resourceHub .section-title h1{font-size:23px;margin-bottom:6px}#resourceHub .section-title p{font-size:11px;margin:0;line-height:1.7}.resource-hub-toolbar{display:flex;align-items:center;gap:10px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:8px}.resource-hub-toolbar input{min-width:0;flex:1;max-width:420px;height:36px;border:1px solid var(--line);border-radius:6px;padding:8px 11px;font:inherit;font-size:11px}.resource-hub-toolbar select{height:36px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit;font-size:11px;color:var(--ink)}.resource-hub-toolbar button{height:36px;margin-left:auto;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:6px;font-size:11px;padding:7px 13px}#resourceHubCount{font-size:10px;margin:12px 0;color:var(--muted)}.resource-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.resource-course-card{display:flex;align-items:flex-start;gap:12px;padding:15px;text-align:left;min-width:0;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);position:relative;font-weight:400}.resource-course-card:hover{background:#fffaf5;border-color:#ffd5bd}.resource-course-card:focus-visible{outline:2px solid #f4510b;outline-offset:2px}.resource-course-cover{display:grid;place-items:center;width:45px;height:59px;flex:0 0 45px;background:#f1f0ed;color:#98a0a8;font-size:9px;border-radius:5px;overflow:hidden}.resource-course-cover img{width:100%;height:100%;object-fit:cover}.resource-course-info{display:grid;gap:5px;min-width:0;padding-bottom:20px}.resource-course-info>strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.resource-course-info>small{font-size:9px;color:#8b95a0;line-height:1.5}.resource-course-badges{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:9px;color:#809087;margin-top:3px}.resource-course-badges .status{font-size:9px;padding:2px 5px}.resource-card-action{position:absolute;bottom:12px;right:13px;color:#e34b0d;font-size:10px}.resource-hub-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:18px 0 0;font-size:11px;color:var(--muted)}.resource-hub-pagination button{padding:7px 11px;font-size:10px;border:1px solid var(--line);background:white;color:var(--ink)}#courseEditor .course-header h2:before{content:'资源管理 · '}#courseEditor>.back-to-list{width:116px;white-space:nowrap;padding-left:7px;padding-right:7px}#courseEditor>.course-preview-pending{right:146px}#courseEditor>.course-header{padding-right:290px}
@media(max-width:1250px){.resource-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.resource-hub-toolbar{flex-wrap:wrap;padding:12px}.resource-hub-toolbar input{flex:1 1 100%;max-width:none}.resource-hub-grid{grid-template-columns:1fr}.resource-course-card{padding:13px}.resource-course-info{padding-bottom:15px}.resource-hub-toolbar button{margin-left:auto}#courseEditor .course-header h2{font-size:11px}}
@media(max-width:560px){#courseEditor>.back-to-list{width:100px;font-size:8px}#courseEditor>.course-preview-pending{right:119px}#courseEditor>.course-header{padding-right:0}}
/* Resource search uses the same masthead position as the course list search. */
.resource-header-search{display:none}.admin-authenticated:has(#dashboardView[data-view=resources]) .resource-header-search{display:block;width:360px;max-width:55%}.admin-authenticated:has(#dashboardView[data-view=resources]) .topbar-search-pending{display:none}.resource-header-search input{width:100%;height:34px;margin:0;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:#f9fafb;color:var(--ink);font:inherit;font-size:11px}.resource-header-search input:focus{background:white;outline:2px solid #f4510b;outline-offset:1px}.resource-hub-toolbar{padding:10px 12px}
@media(max-width:800px){.resource-header-search input{font-size:10px}.admin-authenticated:has(#dashboardView[data-view=resources]) .resource-header-search{width:280px;max-width:55%}}
/* Shared viewport pagination pattern for resource management. */
.admin-authenticated .shell:has(#dashboardView[data-view=resources]){height:100vh;height:100dvh;padding-top:62px;padding-bottom:14px;overflow:hidden}
#dashboardView[data-view=resources]{height:100%;min-height:0;display:flex;flex-direction:column}
#resourceHub{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
#resourceHub .resource-hub-toolbar{flex:0 0 auto;margin-bottom:14px}
#resourceHubCourses{flex:1 1 auto;min-height:0;overflow:auto;align-content:start;padding-right:5px;overscroll-behavior:contain}
#resourceHub .resource-hub-pagination{flex:0 0 auto;justify-content:flex-start;gap:8px;margin:0;padding:12px 0 4px;background:var(--paper)}
#resourceHubCount{margin:0 auto 0 0;font-size:9px;color:#89919e;line-height:1.6}
#resourceHubPrev,#resourceHubNext{padding:6px 9px;font-size:10px;border:1px solid var(--line);background:white;color:var(--red);border-radius:5px}
#resourceHubNext{order:3}#resourceHub .page-numbers{order:2}#resourceHub .page-size-label{order:4;margin-left:auto}
@media(max-width:1100px){#resourceHubCount{flex-basis:100%;margin-bottom:5px}}
@media(max-width:800px){.admin-authenticated .shell:has(#dashboardView[data-view=resources]){padding-bottom:12px}#resourceHub .resource-hub-pagination{gap:5px}}
@media(max-width:560px){.admin-authenticated .shell:has(#dashboardView[data-view=resources]){padding-top:116px}}
/* Explicit ownership: course settings versus resource operations. */
.editor-section-heading{position:relative;padding-right:125px;min-height:40px}.editor-area-switch{position:absolute;right:0;top:2px;background:#fff8f2;border:1px solid #ffd9c2;color:#d64b0f;font-size:10px;padding:7px 10px;border-radius:5px;white-space:nowrap}.editor-area-switch:hover{background:#ffefe2;color:#b9430b}
#dashboardView[data-edit-mode=course] #courseEditor .course-header h2:before{content:'课程管理 · '}
#dashboardView[data-edit-mode=resources] #courseEditor .course-header h2:before{content:'资源管理 · '}
#dashboardView[data-edit-mode=resources] #courseEditor{padding-left:0}
#dashboardView[data-edit-mode=resources] #courseEditor>.editor-tabs{display:none}
.resource-hub-toolbar #resourceWorkFilter{min-width:125px;color:#b44a16;border-color:#ffd9c3;background:#fffaf6}.resource-course-info .resource-conversion-note{font-size:9px;color:#6b7c89}.resource-course-card{min-height:130px}
@media(max-width:800px){.editor-section-heading{padding-right:110px}.editor-area-switch{font-size:9px;padding:7px 8px}.resource-hub-toolbar #resourceWorkFilter{min-width:115px}.resource-hub-toolbar select{font-size:10px}}
@media(max-width:560px){.editor-section-heading{padding-right:0;padding-bottom:38px}.editor-area-switch{left:0;right:auto;top:auto;bottom:4px}}
/* Resource overview uses a two-by-two card layout. */
#resourceOverview .resource-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#resourceOverview .resource-file-row{grid-template-columns:34px minmax(0,1fr);gap:10px 12px;padding:15px;align-content:start;min-width:0}
#resourceOverview .resource-file-row .file-type{grid-column:1;grid-row:1;width:34px;height:44px}
#resourceOverview .resource-file-row .file-description{grid-column:2;grid-row:1;min-width:0;align-self:center}
#resourceOverview .resource-file-row .conversion-cell{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;border:0;border-top:1px solid #f0f2f4;padding:10px 0 0;margin-top:2px}
#resourceOverview .resource-file-row .delivery-cell{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:10px;min-height:0}
#resourceOverview .resource-file-row .delivery-cell:empty{display:none}
#resourceOverview .resource-file-row .resource-actions{grid-column:1/-1;grid-row:4;justify-content:flex-end;align-self:end;margin-top:2px}
#resourceOverview .resource-file-row .file-description small{overflow-wrap:anywhere;line-height:1.6}
@media(max-width:800px){#resourceOverview .resource-file-list{grid-template-columns:1fr}#resourceOverview .resource-file-row{padding:13px}}
/* Inline resource workflow: all controls are visible inside their own cards. */
#resourceOverview .resource-file-list{align-items:start;gap:14px}
#resourceOverview .resource-file-row{padding:13px;gap:8px 11px;min-height:0}
#resourceOverview .resource-file-row .file-type{width:30px;height:38px;font-size:9px}
#resourceOverview .resource-file-row .file-description strong{font-size:11px}
#resourceOverview .resource-file-row .conversion-cell{padding-top:8px;margin-top:0;font-size:10px}
#resourceOverview .resource-file-row .resource-actions{margin:0}
.resource-inline-editor{grid-column:1/-1;grid-row:5;border-top:1px solid #edf0f3;padding-top:10px;margin-top:2px;min-width:0}
.resource-inline-editor #uploadForm,.resource-inline-editor #readingForm{margin:0;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}
.resource-inline-editor #uploadForm{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:8px 12px;align-items:end}
.resource-inline-editor .drop-zone{grid-column:1/-1;min-height:82px;padding:12px;gap:5px;border:1px dashed #edcdb8;background:#fffaf6;border-radius:6px}
.resource-inline-editor .drop-zone .upload-icon{width:24px;height:24px;font-size:17px;margin:0}
.resource-inline-editor .drop-zone strong{font-size:11px}
.resource-inline-editor .drop-zone span,.resource-inline-editor .drop-zone em{font-size:9px;line-height:1.5}
.resource-inline-editor #uploadForm>label{font-size:9px;line-height:1.5}
.resource-inline-editor #previewLimit{grid-column:1;width:85px;height:31px;padding:5px 8px;font-size:10px;border:1px solid var(--line);border-radius:5px}
.resource-inline-editor #uploadButton{grid-column:2;grid-row:2/4;height:32px;padding:6px 10px;font-size:10px;border-radius:5px}
.resource-inline-editor #uploadMessage,.resource-inline-editor #progressWrap{grid-column:1/-1}
.resource-inline-editor .word-card{margin:0;padding:0;border:0;background:transparent;box-shadow:none;min-width:0}
.resource-inline-editor .word-heading{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.resource-inline-editor .word-heading strong{display:none}
.resource-inline-editor .word-heading span{font-size:9px;color:#8e97a3;overflow-wrap:anywhere;line-height:1.6}
.resource-inline-editor .word-form{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}
.resource-inline-editor .word-form input{flex:1 1 180px;width:100%;min-width:0;font-size:9px;padding:6px;border:1px solid var(--line);border-radius:5px;background:#fafbfc}
.resource-inline-editor .word-form input::file-selector-button{font:inherit;padding:4px 7px;border:1px solid var(--line);border-radius:4px;background:white;color:#667180;cursor:pointer}
.resource-inline-editor .word-form button{height:32px;width:auto;font-size:10px;padding:6px 11px;border-radius:5px;white-space:nowrap}
.resource-inline-editor .word-preview{font-size:10px;line-height:1.7;max-height:210px;overflow:auto;margin-top:10px;padding:10px}
.resource-inline-editor .word-card>.text-button{font-size:9px;padding:6px 0;margin-top:5px}
.resource-inline-editor .message{font-size:10px;margin:8px 0 0;line-height:1.6}
.resource-inline-editor #readingForm>.metadata-heading{display:flex;align-items:flex-start;gap:12px;position:static;margin:0 0 12px;padding:0;border:0;background:transparent}
.resource-inline-editor #readingForm h3{display:none}
.resource-inline-editor #readingForm .metadata-heading p{font-size:9px;line-height:1.6;margin:0;color:#939ca7}
.resource-inline-editor #saveReadingButton{font-size:10px;padding:7px 11px;height:32px;white-space:nowrap;background:#f4510b;color:white;border:0;border-radius:5px}
.resource-inline-editor #readingForm .form-grid{gap:11px;margin:0}
.resource-inline-editor #readingForm label{font-size:10px;gap:6px}
.resource-inline-editor #readingTitle{height:32px;font-size:10px;padding:6px 9px}
.resource-inline-editor #readingIntro{height:70px;min-height:60px;font-size:10px;padding:8px;resize:vertical}
.resource-inline-editor #readingText{height:150px;min-height:100px;font-size:10px;line-height:1.7;padding:8px;resize:vertical}
@media(max-width:1000px){.resource-inline-editor .word-form input{flex-basis:100%}.resource-inline-editor .word-form button{margin-left:auto}.resource-inline-editor #uploadForm{grid-template-columns:1fr}.resource-inline-editor #uploadButton{grid-row:auto;grid-column:1;justify-self:end}.resource-inline-editor #readingForm>.metadata-heading{flex-wrap:wrap}}
@media(max-width:800px){#resourceOverview .resource-file-list{grid-template-columns:1fr}.resource-inline-editor .word-form input{flex-basis:180px}.resource-inline-editor #uploadForm{grid-template-columns:minmax(0,1fr) 132px}.resource-inline-editor #uploadButton{grid-column:2;grid-row:2/4}.resource-inline-editor #readingText{height:180px}}
/* Resource actions share the title row at the top-right of each card. */
#resourceOverview .resource-file-row{grid-template-columns:34px minmax(0,1fr) auto}
#resourceOverview .resource-file-row .resource-actions{grid-column:3;grid-row:1;align-self:center;justify-content:flex-end;margin:0;gap:6px}
#resourceOverview .resource-file-row .resource-actions button{white-space:nowrap;font-size:9px;padding:6px 8px}
#resourceOverview .resource-file-row .resource-inline-editor{grid-row:4;grid-column:1/-1}
@media(max-width:560px){#resourceOverview .resource-file-row{grid-template-columns:30px minmax(0,1fr)}#resourceOverview .resource-file-row .resource-actions{grid-column:2;grid-row:2;justify-content:flex-end}#resourceOverview .resource-file-row .conversion-cell{grid-row:3}#resourceOverview .resource-file-row .delivery-cell{grid-row:4}#resourceOverview .resource-file-row .resource-inline-editor{grid-row:5}}
/* Place delivery availability immediately after conversion/page count. */
#resourceOverview .resource-file-row:has(.file-type-0)>.conversion-cell{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#resourceOverview .resource-file-row:has(.file-type-0)>.conversion-cell>.delivery-cell{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:0;margin:0}
#resourceOverview .resource-file-row:has(.file-type-0)>.conversion-cell>.delivery-cell>small{margin-left:3px}
/* Reading follows the courseware card rhythm, with its save action at bottom-right. */
#resourceOverview .resource-file-list{align-items:stretch}
#resourceOverview .resource-file-row{align-content:start}
.resource-inline-editor #readingForm>.metadata-heading{margin:0 0 9px;display:block}
.resource-inline-editor #readingForm .metadata-heading p{font-size:8px;line-height:1.5}
.resource-inline-editor #readingForm .form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px 12px}
.resource-inline-editor #readingForm .form-grid>label:first-child{grid-column:1;grid-row:1}
.resource-inline-editor #readingForm .form-grid>label:nth-child(2){grid-column:2;grid-row:1}
.resource-inline-editor #readingForm .form-grid>label:nth-child(3){grid-column:1/-1;grid-row:2}
.resource-inline-editor #readingForm label{font-size:9px;gap:5px}
.resource-inline-editor #readingTitle{height:35px;font-size:10px;padding:7px 9px}
.resource-inline-editor #readingIntro{height:35px;min-height:35px;padding:7px 9px;font-size:10px;resize:vertical;line-height:1.6}
.resource-inline-editor #readingText{height:88px;min-height:65px;padding:8px 9px;font-size:10px;line-height:1.7;overflow:auto;resize:vertical}
.reading-save-actions{display:flex;justify-content:flex-end;margin-top:10px}
.resource-inline-editor #saveReadingButton{height:32px;min-width:132px;padding:6px 12px;font-size:10px;background:#f4510b;color:white}
.resource-inline-editor #readingMessage{margin:8px 0 0;font-size:9px}
@media(max-width:560px){.resource-inline-editor #readingForm .form-grid{grid-template-columns:1fr}.resource-inline-editor #readingForm .form-grid>label:first-child,.resource-inline-editor #readingForm .form-grid>label:nth-child(2),.resource-inline-editor #readingForm .form-grid>label:nth-child(3){grid-column:1;grid-row:auto}.resource-inline-editor #readingIntro{height:55px}.resource-inline-editor #readingText{height:110px}}
/* Dense desktop resource workspace, retaining all visible editing controls. */
#dashboardView[data-edit-mode=resources] #editorWorkspace{padding-top:12px;padding-bottom:12px}
#dashboardView[data-edit-mode=resources] .editor-section-heading{margin-bottom:8px;min-height:34px}
#dashboardView[data-edit-mode=resources] .editor-section-heading h2{font-size:16px;margin-bottom:3px}
#dashboardView[data-edit-mode=resources] .editor-section-heading p{font-size:9px;line-height:1.5}
.resource-summary-strip{padding:7px 10px;margin-bottom:9px;gap:9px;font-size:10px}
.resource-summary-strip>small{font-size:8px}
#resourceOverview .resource-file-list{gap:10px}
#resourceOverview .resource-file-row{padding:10px;gap:6px 9px;grid-template-columns:28px minmax(0,1fr) auto}
#resourceOverview .resource-file-row .file-type{width:28px;height:34px;font-size:8px}
#resourceOverview .resource-file-row .file-description strong{font-size:10px}
#resourceOverview .resource-file-row .file-description small{font-size:8px;margin-top:2px;line-height:1.4}
#resourceOverview .resource-file-row .resource-actions button{padding:4px 7px;font-size:8px}
#resourceOverview .resource-file-row .conversion-cell{padding-top:6px;gap:6px 9px}
#resourceOverview .resource-file-row .conversion-cell>small,#resourceOverview .resource-file-row .conversion-cell strong,#resourceOverview .resource-file-row .delivery-cell>small,#resourceOverview .resource-file-row .delivery-cell span{font-size:8px}
#resourceOverview .resource-file-row .resource-inline-editor{grid-row:3;padding-top:7px;margin-top:0}
.resource-inline-editor .drop-zone{height:68px;min-height:68px;padding:9px 12px;display:grid;grid-template-columns:25px minmax(0,1fr);gap:3px 10px;align-content:center;text-align:left}
.resource-inline-editor .drop-zone .upload-icon{grid-column:1;grid-row:1/4;width:25px;height:25px;font-size:16px;align-self:center}
.resource-inline-editor .drop-zone strong,.resource-inline-editor .drop-zone span,.resource-inline-editor .drop-zone em{grid-column:2;margin:0;line-height:1.4}
.resource-inline-editor .drop-zone strong{font-size:10px}
.resource-inline-editor .drop-zone span,.resource-inline-editor .drop-zone em{font-size:8px}
.resource-inline-editor #uploadForm{gap:6px 10px}
.resource-inline-editor #uploadForm>label{font-size:8px}
.resource-inline-editor #previewLimit{height:28px;padding:4px 7px;font-size:9px}
.resource-inline-editor #uploadButton{height:29px;padding:5px 9px;font-size:9px}
.resource-inline-editor #readingForm>.metadata-heading{margin-bottom:6px}
.resource-inline-editor #readingForm .metadata-heading p{font-size:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.resource-inline-editor #readingForm .form-grid{gap:6px 10px}
.resource-inline-editor #readingForm label{font-size:8px;gap:4px}
.resource-inline-editor #readingTitle,.resource-inline-editor #readingIntro{height:28px;min-height:28px;font-size:9px;padding:5px 7px}
.resource-inline-editor #readingText{height:55px;min-height:45px;font-size:9px;padding:6px 7px;line-height:1.6}
.reading-save-actions{margin-top:7px}
.resource-inline-editor #saveReadingButton{height:29px;min-width:120px;padding:5px 10px;font-size:9px}
.resource-inline-editor .word-heading{margin-bottom:6px}
.resource-inline-editor .word-heading span{font-size:8px;line-height:1.4}
.resource-inline-editor .word-form{gap:7px}
.resource-inline-editor .word-form input{font-size:8px;padding:4px}
.resource-inline-editor .word-form button{height:29px;padding:5px 9px;font-size:9px}
#dashboardView[data-edit-mode=resources] #courseEditor>.editor-actionbar{margin-top:12px;padding-top:9px;padding-bottom:0}
#dashboardView[data-edit-mode=resources] .editor-actionbar .save-state{font-size:9px;margin-bottom:3px}
#dashboardView[data-edit-mode=resources] .editor-actionbar #editorActionHint{font-size:8px}
#dashboardView[data-edit-mode=resources] .editor-actionbar .save-actions button{height:29px;font-size:9px;padding:5px 11px}
@media(max-width:800px){#resourceOverview .resource-file-row{grid-template-columns:28px minmax(0,1fr) auto}.resource-inline-editor #uploadForm{grid-template-columns:minmax(0,1fr) 120px}.resource-inline-editor #readingText{height:85px}}
@media(max-width:560px){#resourceOverview .resource-file-row{grid-template-columns:28px minmax(0,1fr)}#resourceOverview .resource-file-row .resource-inline-editor{grid-row:5}.resource-inline-editor .drop-zone{min-height:78px;height:auto}.resource-inline-editor #uploadForm{grid-template-columns:1fr}.resource-inline-editor #uploadButton{grid-column:1;grid-row:auto;justify-self:end}.resource-inline-editor #readingText{height:100px}}
#resourceOverview .conversion-cell>.reading-rule-note{flex:1 1 220px;margin:0;font-size:8px;line-height:1.5;color:#929ba6;font-weight:400}
.resource-inline-editor #readingForm>.metadata-heading{display:none}
/* Allocate remaining desktop height to the top pair only. */
@media(min-width:801px) and (min-height:650px){
#dashboardView[data-edit-mode=resources] #courseEditor{display:flex;flex-direction:column;height:100%;min-height:560px;padding-bottom:0}
#dashboardView[data-edit-mode=resources] #courseEditor>.editor-section-heading{flex:0 0 auto}
#dashboardView[data-edit-mode=resources] #resourceOverview{display:flex;flex-direction:column;flex:1 1 auto;min-height:420px;margin-bottom:0}
#dashboardView[data-edit-mode=resources] .resource-summary-strip{flex:0 0 auto}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-file-list{flex:1 1 auto;grid-template-rows:minmax(245px,1fr) auto;align-items:stretch}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-file-row:nth-child(-n+2){grid-template-rows:auto auto minmax(0,1fr);align-content:stretch}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-file-row:nth-child(-n+2)>.resource-inline-editor{display:flex;flex-direction:column;min-height:0}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #uploadForm{flex:1 1 auto;grid-template-rows:minmax(68px,1fr) auto auto;min-height:0}
#dashboardView[data-edit-mode=resources] .resource-inline-editor .drop-zone{height:auto;min-height:68px;align-content:center}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm .form-grid{flex:1 1 auto;grid-template-rows:auto minmax(0,1fr);min-height:0}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm .form-grid>label:nth-child(3){display:flex;flex-direction:column;min-height:0}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingText{flex:1 1 auto;height:auto;min-height:55px;max-height:none;resize:vertical}
#dashboardView[data-edit-mode=resources] .reading-save-actions{flex:0 0 auto}
#dashboardView[data-edit-mode=resources] #courseEditor>.editor-actionbar{flex:0 0 auto}
}
/* Match the two top cards: settings, main editor, bottom-right action. */
#resourceOverview .resource-inline-editor #uploadForm{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(90px,1fr) auto;gap:7px;align-items:stretch;width:100%;min-height:0}
.courseware-preview-setting{grid-column:1;grid-row:1;display:grid;grid-template-columns:1fr;grid-template-rows:12px 28px;gap:4px;align-content:start}
.courseware-preview-setting>label,.courseware-file-control>label{font-size:8px;font-weight:700;line-height:12px;margin:0;color:var(--ink)}
#resourceOverview .courseware-preview-setting #previewLimit{grid-column:1;grid-row:2;width:100%;height:28px;max-width:150px;margin:0}
.courseware-file-control{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:4px;min-width:0;min-height:0}
#resourceOverview .courseware-file-control .drop-zone{display:grid;flex:1 1 auto;height:auto;min-height:74px;align-content:center;margin:0}
#resourceOverview .resource-inline-editor #uploadButton{grid-column:1;grid-row:3;justify-self:end;align-self:end;width:132px;min-width:132px;height:29px;margin:0;padding:5px 10px}
#resourceOverview .resource-inline-editor #uploadMessage,#resourceOverview .resource-inline-editor #progressWrap{grid-column:1;grid-row:auto}
#resourceOverview .resource-inline-editor #saveReadingButton{width:132px;min-width:132px;height:29px}
@media(min-width:801px) and (min-height:650px){
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-file-row:nth-child(-n+2){grid-template-rows:40px 32px minmax(0,1fr)}
#resourceOverview .resource-file-row:nth-child(-n+2)>.conversion-cell{align-self:stretch;align-content:start;align-items:flex-start;padding-top:6px;min-height:0}
#resourceOverview .resource-file-row:nth-child(-n+2)>.resource-inline-editor{grid-row:3;align-self:stretch;min-height:0;padding-top:7px}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #uploadForm{grid-template-rows:44px minmax(90px,1fr) 29px;flex:1 1 auto}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm .form-grid{grid-template-rows:44px minmax(0,1fr);gap:7px 10px}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm .form-grid>label:nth-child(3){gap:4px}
#dashboardView[data-edit-mode=resources] .resource-inline-editor #readingForm .form-grid>label:nth-child(3),.courseware-file-control{line-height:12px}
#dashboardView[data-edit-mode=resources] .reading-save-actions{height:29px;margin-top:7px}
}
/* Exact shared geometry for the courseware drop area and reading textarea. */
@media(min-width:801px) and (min-height:650px){
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #uploadForm,
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);grid-template-rows:44px minmax(90px,1fr) 29px;gap:7px 10px;align-items:stretch;height:100%;min-height:0;margin:0;padding:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm>.form-grid{display:contents}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm>.metadata-heading{display:none}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-preview-setting{grid-column:1/-1;grid-row:1;height:44px;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control{grid-column:1/-1;grid-row:2;display:grid;grid-template-rows:12px minmax(0,1fr);gap:4px;margin:0;min-height:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control>label{height:12px;line-height:12px;margin:0;padding:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone{height:100%;min-height:0;margin:0;box-sizing:border-box}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm .form-grid>label:first-child{grid-column:1;grid-row:1;height:44px;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm .form-grid>label:nth-child(2){grid-column:2;grid-row:1;height:44px;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingForm .form-grid>label:nth-child(3){grid-column:1/-1;grid-row:2;display:grid;grid-template-rows:12px minmax(0,1fr);gap:4px;height:auto;min-height:0;margin:0;line-height:12px}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingText{height:100%;min-height:0;max-height:none;margin:0;box-sizing:border-box}
#dashboardView[data-edit-mode=resources] #resourceOverview .reading-save-actions{grid-column:1/-1;grid-row:3;display:flex;justify-content:flex-end;align-items:stretch;height:29px;margin:0;padding:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #uploadButton{grid-column:1/-1;grid-row:3;align-self:stretch;justify-self:end;height:29px;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #saveReadingButton{height:29px;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #readingMessage,#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #uploadMessage,#dashboardView[data-edit-mode=resources] #resourceOverview .resource-inline-editor #progressWrap{grid-column:1/-1;grid-row:auto;margin:0}
}
/* Center and enlarge the courseware drop target content. */
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;text-align:center;padding:18px}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone .upload-icon{width:33px;height:33px;flex:0 0 33px;font-size:22px;margin:0 0 3px;align-self:center}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone strong{font-size:14px;line-height:1.6;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone span{font-size:11px;line-height:1.6;margin:0}
#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone em{font-size:11px;line-height:1.6;margin:0;overflow-wrap:anywhere;max-width:100%}
@media(max-width:800px){#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone{min-height:145px}#dashboardView[data-edit-mode=resources] #resourceOverview .courseware-file-control .drop-zone strong{font-size:13px}}
/* Readable course list: eight rows by default and stronger typography. */
#courseListPanel .course-table th{font-size:12px;padding:11px 12px}
#courseListPanel .course-table td{font-size:12px;padding:10px 12px}
#courseListPanel .table-course strong{font-size:14px;line-height:1.5;font-weight:650}
#courseListPanel .table-course small{font-size:11px;line-height:1.5;margin-top:4px}
#courseListPanel .table-course{gap:11px}
#courseListPanel .course-table .course-thumb{width:36px;height:46px;flex-basis:36px;font-size:10px}
#courseListPanel .subject-grade{font-size:12px;gap:4px}
#courseListPanel .subject-grade small{font-size:11px}
#courseListPanel .course-table .status{font-size:11px;padding:4px 7px}
#courseListPanel .resource-ratio{font-size:12px}
#courseListPanel .course-table progress{width:80px;height:6px;margin-top:5px}
#courseListPanel .course-table time{font-size:11px;line-height:1.6}
#courseListPanel .course-table .table-edit{font-size:11px;padding:6px 11px}
#courseListPanel .course-more>summary{font-size:16px;padding:5px 8px}
#courseListPanel .resource-attention{font-size:10px}
@media(max-width:800px){#courseListPanel .table-course strong{font-size:13px}#courseListPanel .course-table td{padding:9px 10px}}
/* Balance readability with a complete eight-row page. */
#courseListPanel .course-table th{font-size:11px;padding:8px 11px}
#courseListPanel .course-table td{font-size:11px;padding:7px 11px}
#courseListPanel .table-course strong{font-size:13px;line-height:1.4}
#courseListPanel .table-course small{font-size:10px;line-height:1.4;margin-top:3px}
#courseListPanel .course-table .course-thumb{width:31px;height:38px;flex-basis:31px;font-size:9px}
#courseListPanel .subject-grade{font-size:11px;gap:3px}
#courseListPanel .subject-grade small{font-size:10px}
#courseListPanel .course-table .status{font-size:10px;padding:3px 6px}
#courseListPanel .resource-ratio{font-size:11px}
#courseListPanel .course-table time{font-size:10px;line-height:1.5}
#courseListPanel .course-table .table-edit{font-size:10px;padding:5px 10px}
#courseListPanel .course-more>summary{font-size:14px;padding:4px 7px}
#courseListPanel .course-table progress{height:5px;margin-top:4px}
/* Taxonomy: compact filter labels, removable choices and actual course previews. */
#taxonomyOverview .taxonomy-heading{margin-bottom:16px}#taxonomyOverview .taxonomy-heading h1{font-size:22px;margin-bottom:5px}#taxonomyOverview .taxonomy-heading p{font-size:11px;line-height:1.7;margin:0;color:#8b95a1}.taxonomy-filter-card{border:1px solid var(--line);background:#fff;border-radius:9px;padding:4px 18px 0}.taxonomy-filter-row{display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #f0f2f4;align-items:start}.taxonomy-filter-row>strong{font-size:12px;font-weight:600;padding-top:7px;color:#4c5867}.taxonomy-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.taxonomy-options>button{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;font-size:11px;font-weight:400;border-radius:5px;border:1px solid #e8ecf0;background:#f8f9fb;color:#596678;line-height:1.5}.taxonomy-options>button small{font-size:10px;opacity:.7;font-variant-numeric:tabular-nums}.taxonomy-options>button:hover{border-color:#ffd5ba;background:#fff8f1;color:#d04a0d}.taxonomy-options>button[aria-pressed=true]{background:#fff0e5;color:#e04b09;border-color:#ffcaa9}.taxonomy-options>button:focus-visible,.taxonomy-selected-row button:focus-visible{outline:2px solid #f4510b;outline-offset:2px}.taxonomy-options>small{font-size:10px;color:#949daa;padding:7px}.taxonomy-selected-row{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 0}.taxonomy-selected-row>span{font-size:10px;color:#8b95a0;white-space:nowrap;width:60px}.taxonomy-selected-row>button{font-size:10px;margin-left:auto;white-space:nowrap}.taxonomy-selected-row>button:disabled{color:#a5abb4;opacity:1}.taxonomy-selected-row>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.taxonomy-selected-row>div>small{font-size:10px;color:#a0a7b0}.taxonomy-selected-row>div>button{padding:5px 8px;border:1px solid #ffdcc5;border-radius:5px;background:#fff6ee;color:#be541e;font-size:10px;font-weight:400}.taxonomy-selected-row>div>button span{margin-left:5px;color:#ce9879}.taxonomy-result-toolbar{display:flex;align-items:center;gap:9px;margin:15px 0 20px}.taxonomy-result-toolbar>p{margin:0 auto 0 0;font-size:12px;line-height:1.6;color:#596678}.taxonomy-result-toolbar>button{font-size:11px;padding:9px 13px;border-radius:6px}.taxonomy-result-toolbar>.secondary{border:1px solid var(--line);background:#fff;color:#606d7c}.taxonomy-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.taxonomy-preview-heading h2{margin:0;font-size:15px}.taxonomy-preview-heading small{font-size:10px;color:#929aa6}.taxonomy-course-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.taxonomy-preview-course{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);text-align:left;font-weight:400;min-width:0}.taxonomy-preview-course:hover{border-color:#ffcfb4;background:#fffcf9}.taxonomy-preview-course:focus-visible{outline:2px solid #f4510b;outline-offset:2px}.taxonomy-preview-cover{display:grid;place-items:center;width:37px;height:48px;flex:0 0 37px;border-radius:4px;background:#f1f2f4;color:#9ba3ad;font-size:8px;overflow:hidden}.taxonomy-preview-cover img{width:100%;height:100%;object-fit:cover}.taxonomy-preview-info{display:grid;gap:5px;min-width:0;flex:1}.taxonomy-preview-info strong{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.taxonomy-preview-info small{font-size:9px;color:#929aa5;line-height:1.5}.taxonomy-preview-course>.status{font-size:9px;padding:3px 5px;white-space:nowrap}.taxonomy-preview-empty{grid-column:1/-1;padding:36px 18px;text-align:center;border:1px dashed #dfe4e9;border-radius:8px;color:#8a95a2;font-size:12px;background:#fff}
@media(max-width:1200px){.taxonomy-course-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.taxonomy-filter-card{padding:0 12px}.taxonomy-filter-row{grid-template-columns:45px minmax(0,1fr);gap:8px;padding:12px 0}.taxonomy-filter-row>strong{font-size:11px}.taxonomy-options{gap:6px}.taxonomy-options>button{padding:6px 8px;font-size:10px}.taxonomy-selected-row{gap:8px}.taxonomy-selected-row>span{width:45px;font-size:9px}.taxonomy-result-toolbar{flex-wrap:wrap;gap:8px}.taxonomy-result-toolbar>p{flex-basis:100%;font-size:11px}.taxonomy-result-toolbar>button{padding:8px 11px;font-size:10px}.taxonomy-course-preview{grid-template-columns:1fr}.taxonomy-preview-heading small{font-size:9px}}
/* Banner management: one compact screen instead of duplicated large previews. */
.admin-authenticated .shell:has(#dashboardView[data-view=banner]){padding-top:64px;padding-bottom:14px}
#dashboardView[data-view=banner] .banner-disclosure{margin:0;border:0}
#dashboardView[data-view=banner] .banner-settings{padding:16px 18px;border-radius:8px}
#dashboardView[data-view=banner] .banner-settings>.metadata-heading{margin:0 0 13px;display:flex;align-items:center;justify-content:space-between;gap:14px}
#dashboardView[data-view=banner] .banner-settings h2{font-size:20px;margin:0 0 5px}
#dashboardView[data-view=banner] .banner-settings>.metadata-heading p{font-size:10px;line-height:1.5;margin:0;color:#8993a0}
#dashboardView[data-view=banner] #saveBannerButton{height:34px;padding:7px 15px;border-radius:5px;font-size:11px;white-space:nowrap;background:#f4510b;color:white;border:0}
#dashboardView[data-view=banner] .banner-preview-panel{padding:11px 12px;margin:0 0 13px;border-radius:7px}
#dashboardView[data-view=banner] .banner-preview-panel .panel-heading{margin-bottom:8px}
#dashboardView[data-view=banner] .banner-preview-panel h3{font-size:11px;margin:0}
#dashboardView[data-view=banner] #bannerDraftState{font-size:9px;padding:3px 6px}
#dashboardView[data-view=banner] .banner-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#dashboardView[data-view=banner] .banner-preview-grid>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;padding:8px 10px;min-height:35px;border-radius:5px}
#dashboardView[data-view=banner] .banner-preview-grid>div>small{font-size:9px}
#dashboardView[data-view=banner] .banner-preview-grid .banner-cover{display:none}
#dashboardView[data-view=banner] .banner-preview-grid strong{font-size:10px;line-height:1.4;flex:1;min-width:0;overflow-wrap:anywhere}
#dashboardView[data-view=banner] .banner-preview-grid .status{font-size:8px;padding:2px 5px;margin-left:auto}
#dashboardView[data-view=banner] .banner-preview-grid .banner-empty{display:block;min-height:0;height:auto;border:0;padding:0;background:transparent;font-size:10px;line-height:1.5}
#dashboardView[data-view=banner] #bannerAutomaticNote{font-size:9px;line-height:1.5;margin:8px 0 0}
#dashboardView[data-view=banner] .banner-config-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dashboardView[data-view=banner] .banner-config-card{display:block;padding:12px;border-radius:7px}
#dashboardView[data-view=banner] .banner-config-card h3{font-size:12px;line-height:1.5;margin:0 0 9px}
#dashboardView[data-view=banner] .banner-slot{height:136px;min-height:0;display:flex;flex-direction:column;gap:5px;overflow:auto}
#dashboardView[data-view=banner] .banner-config-card .banner-cover{height:72px;min-height:72px;flex:0 0 72px;border-radius:5px;font-size:10px}
#dashboardView[data-view=banner] .banner-slot strong{font-size:11px;line-height:1.5}
#dashboardView[data-view=banner] .banner-slot small{font-size:9px;line-height:1.5}
#dashboardView[data-view=banner] .banner-slot .status{font-size:8px;align-self:flex-start;padding:2px 5px;line-height:1.5}
#dashboardView[data-view=banner] .banner-config-card .banner-empty{min-height:0;height:100%;padding:10px;font-size:10px;background:#fafbfc;border-radius:5px}
#dashboardView[data-view=banner] .banner-config-card label{font-size:10px;margin:10px 0 6px}
#dashboardView[data-view=banner] .banner-config-card select{height:32px;font-size:10px;padding:5px 7px}
#dashboardView[data-view=banner] .banner-config-card>button{padding:5px 8px;margin-top:8px;font-size:9px;border-radius:4px}
#dashboardView[data-view=banner] #bannerReload{display:inline-block;margin-top:12px;padding:4px 0;font-size:10px}
#dashboardView[data-view=banner] #bannerMessage{margin:7px 0 0;padding:8px 10px;font-size:10px;line-height:1.5;border-radius:5px}
@media(max-width:800px){#dashboardView[data-view=banner] .banner-settings{padding:13px}#dashboardView[data-view=banner] .banner-config-grid{gap:8px}#dashboardView[data-view=banner] .banner-config-card{padding:9px}#dashboardView[data-view=banner] .banner-slot{height:135px}#dashboardView[data-view=banner] .banner-preview-grid>div{padding:7px;gap:4px}#dashboardView[data-view=banner] .banner-preview-grid .status{margin-left:0}#dashboardView[data-view=banner] .banner-settings h2{font-size:18px}}
@media(max-width:560px){.admin-authenticated .shell:has(#dashboardView[data-view=banner]){padding-top:116px}#dashboardView[data-view=banner] .banner-preview-grid{gap:6px}#dashboardView[data-view=banner] .banner-config-grid{grid-template-columns:1fr}#dashboardView[data-view=banner] .banner-settings>.metadata-heading{flex-wrap:wrap}#dashboardView[data-view=banner] .banner-slot{height:auto;min-height:90px}#dashboardView[data-view=banner] .banner-config-card .banner-empty{min-height:70px}}
/* Home three-column cards share a common bottom edge. */
@media(min-width:1251px){
.home-columns{align-items:stretch}
.home-columns>.home-trend-card,.home-columns>.home-subject-card{display:flex;flex-direction:column;height:100%;min-height:0}
.home-trend-card>.panel-heading,.home-trend-card>.trend-periods,.home-trend-card>.trend-legend,.home-subject-card>.panel-heading,.home-subject-card>.form-note{flex:0 0 auto}
.home-trend-card>.trend-chart-pending{flex:1 1 auto;min-height:180px}
.home-subject-card>#homeSubjectDistribution{flex:1 1 auto;min-height:190px;justify-content:center;align-items:center}
}
/* Desktop home fills one viewport without a trailing explanatory row. */
@media(min-width:1251px) and (min-height:650px){
.admin-authenticated .shell:has(#dashboardView[data-view=home]){height:100vh;height:100dvh;padding-top:64px;padding-bottom:12px;overflow:hidden}
#dashboardView[data-view=home]{height:100%;min-height:0;display:flex;flex-direction:column}
#homeOverview{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
#homeOverview>.home-welcome{flex:0 0 auto;height:clamp(120px,17vh,160px);min-height:120px;margin-bottom:12px}
#homeOverview>.home-stats{flex:0 0 auto;margin-bottom:12px}
#homeOverview .home-stats>div{padding:12px 13px;min-height:88px}
#homeOverview>.home-columns{flex:1 1 auto;min-height:0;align-items:stretch}
#homeOverview .home-columns>.home-card{min-height:0;height:100%;overflow:hidden}
#homeOverview .home-columns>.home-card:last-child{display:flex;flex-direction:column}
#homeRecent{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));flex:1 1 auto;min-height:0}
#homeOverview .home-columns .recent-course{min-height:0;padding:8px 0;grid-template-columns:32px minmax(0,1fr) auto 76px;gap:7px}
#homeOverview .home-columns .recent-course .recent-cover{grid-column:1;grid-row:1;width:32px;height:40px}
#homeOverview .home-columns .recent-course .recent-description{grid-column:2;grid-row:1}
#homeOverview .home-columns .recent-course .status{grid-column:3;grid-row:1}
#homeOverview .home-columns .recent-course time{grid-column:4;grid-row:1;margin:0;font-size:8px;white-space:normal;text-align:right}
#homeOverview .trend-chart-pending{min-height:90px}
#homeOverview #homeSubjectDistribution{min-height:0}
}
@media(min-width:768px) and (max-width:1250px) and (min-height:650px){
.admin-authenticated .shell:has(#dashboardView[data-view=home]){height:100vh;height:100dvh;padding-top:64px;padding-bottom:12px;overflow:hidden}
#dashboardView[data-view=home]{height:100%;min-height:0;display:flex;flex-direction:column}
#homeOverview{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
#homeOverview>.home-welcome{height:105px;min-height:105px;flex:0 0 auto;margin-bottom:10px;padding:14px 38px}
#homeOverview .welcome-copy h1{font-size:19px}#homeOverview .welcome-copy>span{font-size:10px}
#homeOverview>.home-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:0 0 auto;margin-bottom:10px}
#homeOverview .home-stats>div{padding:10px;min-height:72px}#homeOverview .home-stats .stat-icon{display:none}#homeOverview .home-stats strong{font-size:22px}#homeOverview .home-stats .stat-content>span{font-size:9px}#homeOverview .home-stats .stat-note{font-size:8px!important;margin-top:4px}
#homeOverview>.home-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) minmax(0,1.2fr);flex:1 1 auto;min-height:0;gap:10px;align-items:stretch}
#homeOverview .home-columns>.home-card{min-height:0;height:100%;padding:12px;overflow:hidden;display:flex;flex-direction:column}
#homeOverview .home-columns>.home-card:last-child{grid-column:1/-1}
#homeOverview .trend-periods{margin:8px 0}#homeOverview .trend-chart-pending{flex:1 1 auto;min-height:40px;margin-top:6px}#homeOverview .trend-empty-message>svg{display:none}#homeOverview .trend-empty-message small{font-size:8px}
#homeOverview .home-subject-card>.form-note{margin:7px 0;font-size:8px}#homeOverview #homeSubjectDistribution{flex:1;min-height:0;gap:12px;justify-content:center}#homeOverview .subject-donut{width:86px;height:86px;flex-basis:86px}#homeOverview .subject-donut>span{width:62px;height:62px}#homeOverview .subject-donut strong{font-size:18px}#homeOverview .subject-donut small{font-size:8px}#homeOverview .subject-distribution-row{padding:5px 0}#homeOverview .subject-distribution-row>strong{font-size:10px}#homeOverview .subject-distribution-row>small{font-size:8px}
#homeRecent{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));min-height:0;flex:1}
#homeOverview .home-columns .recent-course{grid-template-columns:24px minmax(0,1fr) auto 78px;min-height:0;padding:4px 0;gap:8px}
#homeOverview .home-columns .recent-course .recent-cover{grid-column:1;grid-row:1;width:24px;height:30px}
#homeOverview .home-columns .recent-course .recent-description{grid-column:2;grid-row:1}
#homeOverview .home-columns .recent-course .recent-description strong{font-size:10px}#homeOverview .home-columns .recent-course .recent-description small{font-size:8px}
#homeOverview .home-columns .recent-course .status{grid-column:3;grid-row:1;font-size:8px}#homeOverview .home-columns .recent-course time{grid-column:4;grid-row:1;margin:0;font-size:8px}
}
/* Completed controls within the existing five-page layout. */
.topbar-search-pending button{border:0;background:transparent;color:#f4510b;white-space:nowrap;font-size:12px;padding:5px 8px;cursor:pointer}
#courseTrendChart{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;border:0;background:none;padding:0}
#courseTrendChart svg{width:100%;height:100%;max-height:100%;min-height:0}
#courseTrendChart text{font-size:10px;fill:#85909f}
#courseTrendNote{display:block;font-size:10px;line-height:1.5;color:#8993a2;margin-top:5px}
.trend-periods button:first-child{background:#f6f7f9;color:#8993a2;border-color:#e6e9ef}
.trend-periods button[aria-pressed=true]{background:#fff3eb;color:#f4510b;border-color:#ffe0cd}
.course-selection-bar{display:flex;gap:10px;align-items:center;padding:6px 12px;background:#fff7f1;flex-shrink:0;font-size:12px}
.course-selection-bar[hidden],.local-draft-notice[hidden]{display:none}
.course-selection-bar button,.local-draft-notice button{padding:5px 9px;font-size:12px}
.selection-col input:not(:disabled){cursor:pointer}
.course-preview-pending.secondary:not(:disabled),.resource-preview-pending:not(:disabled),.cover-remove-pending.secondary:not(:disabled){cursor:pointer;color:#344054;background:#fff;border-color:#e3e7ee}
.local-draft-notice{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:12px;background:#fff7ee;border:1px solid #ffe1c7;padding:7px 10px;border-radius:7px}
.course-preview-dialog{width:min(1000px,92vw);max-height:88vh;box-sizing:border-box;border:1px solid #e4e8ef;border-radius:12px;padding:18px;overflow:auto;color:#243041}
.course-preview-dialog::backdrop{background:#18223080}
.preview-dialog-heading,.preview-dialog-footer{display:flex;align-items:center;gap:12px;justify-content:space-between}
.preview-dialog-heading h2{font-size:18px;margin:0 0 5px}
.preview-dialog-heading small{color:#8792a2}
.preview-dialog-footer{justify-content:center;flex-wrap:wrap;margin-top:15px;font-size:13px}
.course-preview-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.course-preview-pages figure{margin:0;border:1px solid #e8ebf0;border-radius:8px;overflow:hidden;text-align:center}
.course-preview-pages img{width:100%;height:auto;display:block}
.course-preview-pages figcaption{padding:7px;background:#f8f9fb;color:#7b8696;font-size:12px}
.feature-empty{padding:30px 14px;color:#8792a2;font-size:13px;text-align:center}
#coursePreviewFiles{display:flex;gap:15px;margin:12px 0;font-size:13px}
@media(max-width:650px){.course-preview-pages{grid-template-columns:1fr}}
/* New-course dialog: compact fields, always-visible actions. */
#createCourseDialog{width:min(820px,calc(100vw - 40px));max-height:calc(100dvh - 40px);border-radius:14px;overflow:hidden}
#createCourseForm{padding:20px;display:flex;flex-direction:column;max-height:calc(100dvh - 42px);box-sizing:border-box}
#createCourseForm .dialog-heading{flex-shrink:0;margin-bottom:12px}
#createCourseForm .eyebrow{display:none}
#createCourseForm .dialog-heading h2{font:700 22px/1.4 inherit;margin:0;font-family:inherit;font-size:22px}
#createCourseForm>.form-grid{overflow:auto;min-height:0;gap:10px 16px;padding:3px}
#createCourseForm label{font-size:13px;gap:5px}
#createCourseForm input,#createCourseForm select{font-size:13px;min-height:36px;padding:7px 10px;border-radius:7px}
#createCourseForm textarea{font-size:13px;height:76px;min-height:60px;padding:8px 10px;border-radius:7px;resize:vertical}
#createCourseForm .taxonomy-helper{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;font-size:11px;color:#8792a2;background:#f8f9fb;border-radius:7px;padding:7px 10px}
#createCourseForm .taxonomy-helper button{font-size:12px;padding:6px 10px;background:#fff;color:#465467;border:1px solid #e1e6ec;border-radius:6px}
#createCourseForm .form-note{font-size:11px;margin-top:10px;flex-shrink:0}
#createCourseForm .dialog-actions{flex-shrink:0;margin-top:12px;padding-top:12px;border-top:1px solid #edf0f4}
#createCourseForm .dialog-actions button{font-size:13px;padding:9px 20px}
#createCourseMessage{font-size:12px;margin:8px 0 0;flex-shrink:0}
@media(max-width:600px){#createCourseForm .form-grid{grid-template-columns:1fr}#createCourseForm{padding:14px}#createCourseDialog{width:calc(100vw - 24px)}}
#createCourseForm .taxonomy-helper[hidden]{display:none}
#createCourseForm .form-grid{align-items:start}
#createCourseForm .form-grid>label:has(#newCourseSummary),#createCourseForm .form-grid>label:has(#newCourseOutline){align-self:start;grid-row:auto}
#createCourseForm #newCourseSummary,#createCourseForm #newCourseOutline{height:88px;min-height:88px;box-sizing:border-box}
/* Neutral form-control focus throughout the admin interface. */
html body input:not([type=checkbox]):not([type=radio]):focus,
html body select:focus,
html body textarea:focus{border-color:#c7cdd5!important;box-shadow:none!important;outline:none!important}
html body input:not([type=checkbox]):not([type=radio]):focus-visible,
html body select:focus-visible,
html body textarea:focus-visible{outline:1px solid #aeb6c1!important;outline-offset:1px!important}
/* Publishing uses a compact, consistent settings layout. */
#courseEditor[data-section=publishing]>.metrics{margin:12px 0;gap:12px}
#courseEditor[data-section=publishing]>.metrics>div{padding:12px 16px}
#courseEditor[data-section=publishing]>.metrics strong{font-size:22px}
#courseEditor[data-section=publishing]>.metrics span{font-size:12px;margin-top:3px}
#courseEditor[data-section=publishing] #metadataForm{margin:0 0 14px;padding:0;gap:12px}
#courseEditor[data-section=publishing] #metadataForm .metadata-heading{padding:8px 10px;margin:0}
#courseEditor[data-section=publishing] #metadataFields>.form-grid[data-editor-section=publishing]{grid-template-columns:minmax(180px,1fr) minmax(240px,1fr);gap:14px;align-items:end}
#courseEditor[data-section=publishing] .feature-toggle.wide{grid-column:auto;min-height:62px;box-sizing:border-box;padding:10px 14px;border-radius:8px}
#courseEditor[data-section=publishing] .feature-toggle input{width:18px;height:18px}
#courseEditor[data-section=publishing] .feature-toggle small{font-size:11px;font-weight:400;line-height:1.5}
#courseEditor[data-section=publishing] #metadataFields label{font-size:13px}
#courseEditor[data-section=publishing] #courseEditPricing{height:38px;padding:7px 10px;font-size:13px}
#courseEditor[data-section=publishing] #previewForm{display:grid;grid-template-columns:minmax(160px,240px) auto;justify-content:start;gap:8px 14px;padding:16px;margin:0 0 14px;border-radius:9px}
#courseEditor[data-section=publishing] #previewForm .metadata-heading{grid-column:1/-1;margin-bottom:6px}
#courseEditor[data-section=publishing] #previewForm h3{font-size:16px}
#courseEditor[data-section=publishing] #previewForm p{font-size:12px;line-height:1.6}
#courseEditor[data-section=publishing] #previewForm>label{grid-column:1/-1;font-size:12px}
#courseEditor[data-section=publishing] #standalonePreviewLimit{height:38px;box-sizing:border-box;padding:7px 10px;font-size:14px}
#courseEditor[data-section=publishing] #savePreviewButton{height:38px;align-self:end;font-size:13px;padding:8px 16px;background:#f4510b;color:#fff;border-radius:6px}
#courseEditor[data-section=publishing] #previewMessage{grid-column:1/-1}
#courseEditor[data-section=publishing] .publish-card{padding:16px;margin:0 0 14px;border-radius:9px;gap:16px}
#courseEditor[data-section=publishing] .publish-card h3{font-size:16px;margin:0 0 5px}
#courseEditor[data-section=publishing] .publish-card p{font-size:12px;margin:0;line-height:1.6}
#courseEditor[data-section=publishing] #statusButton{padding:9px 20px;font-size:13px;border-radius:6px;background:#f4510b;color:#fff;white-space:nowrap}
#courseEditor[data-section=publishing] .editor-actionbar{margin-top:0;padding-top:12px}
@media(max-width:700px){#courseEditor[data-section=publishing] #metadataFields>.form-grid[data-editor-section=publishing]{grid-template-columns:1fr}#courseEditor[data-section=publishing] #previewForm{grid-template-columns:minmax(90px,1fr) auto}}
/* Refine publishing proportions without changing its structure. */
#courseEditor[data-section=publishing] #previewForm{grid-template-columns:160px minmax(0,1fr);justify-content:stretch;column-gap:12px;row-gap:8px;padding:16px}
#courseEditor[data-section=publishing] #previewForm>.metadata-heading{grid-column:1/-1;justify-self:stretch;min-width:0;max-width:100%}
#courseEditor[data-section=publishing] #previewForm>.metadata-heading>div{min-width:0;max-width:100%}
#courseEditor[data-section=publishing] #previewForm>label{grid-column:1/-1}
#courseEditor[data-section=publishing] #standalonePreviewLimit{width:160px;max-width:100%;border-radius:6px}
#courseEditor[data-section=publishing] #savePreviewButton{width:auto;min-width:0;max-width:none;justify-self:start;padding:8px 18px;font-size:13px;font-weight:600;border:1px solid #dfe4eb;background:#fff;color:#344054;box-shadow:none}
#courseEditor[data-section=publishing] #savePreviewButton:hover:not(:disabled){background:#f7f8fa;border-color:#c5cdd7}
#courseEditor[data-section=publishing] #previewForm h3,#courseEditor[data-section=publishing] .publish-card h3{font-size:16px;line-height:1.5}
#courseEditor[data-section=publishing] #previewForm .metadata-heading p{margin-top:4px;color:#84909f;max-width:850px}
#courseEditor[data-section=publishing] .publish-card{align-items:center;padding:16px}
#courseEditor[data-section=publishing] #statusButton{height:38px;min-width:104px;padding:8px 18px}
#courseEditor[data-section=publishing] .feature-toggle.wide{min-height:62px;align-items:center;background:#fafbfc}
#courseEditor[data-section=publishing] .feature-toggle strong{font-size:13px}
#courseEditor[data-section=publishing]>.metrics>div{background:#fafbfc;border-radius:8px}
#courseEditor[data-section=publishing]>.metrics strong{font-size:21px;line-height:1.3}
#courseEditor[data-section=publishing] .editor-actionbar .save-actions button{height:36px;padding:7px 16px;font-size:12px;border-radius:6px}
@media(max-width:600px){#courseEditor[data-section=publishing] #previewForm{grid-template-columns:minmax(70px,140px) minmax(0,1fr)}#courseEditor[data-section=publishing] #standalonePreviewLimit{width:100%}}
#courseEditor[data-section=publishing] #metadataFields>.form-grid[data-editor-section=publishing]{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
#courseEditor[data-section=publishing] .publishing-feature-field{display:grid;gap:7px;min-width:0}
#courseEditor[data-section=publishing] .publishing-field-title{font-size:13px;font-weight:700;line-height:1.5}
#courseEditor[data-section=publishing] #metadataFields>.form-grid[data-editor-section=publishing]>label{gap:7px;line-height:1.5}
#courseEditor[data-section=publishing] .publishing-feature-field>.feature-toggle{display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:38px;height:auto;margin:0;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:12px;font-weight:400;line-height:22px}
#courseEditor[data-section=publishing] .publishing-feature-field>.feature-toggle input{width:16px;height:16px;margin:0;flex:0 0 16px}
#courseEditor[data-section=publishing] .publishing-feature-field>.feature-toggle>span{display:block;color:#677386}
@media(max-width:700px){#courseEditor[data-section=publishing] #metadataFields>.form-grid[data-editor-section=publishing]{grid-template-columns:1fr}}
/* Match the publishing select and recommendation control exactly. */
#courseEditor[data-section=publishing] #courseEditPricing,
#courseEditor[data-section=publishing] .publishing-feature-field>label.feature-toggle{height:38px!important;min-height:38px!important;max-height:38px!important;box-sizing:border-box!important;margin:0!important;padding:7px 10px!important;border-width:1px!important;line-height:22px!important}
#courseEditor[data-section=publishing] .publishing-feature-field>label.feature-toggle{display:flex!important;align-items:center!important;overflow:hidden}
#courseEditor[data-section=publishing] .publishing-feature-field>label.feature-toggle>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#courseEditor[data-section=publishing] .publish-card{background:#fafbfc;border:1px solid var(--line);padding:12px 16px}
#courseEditor[data-section=publishing] .publish-card h3{font-size:14px}
#courseEditor[data-section=publishing] .publish-readiness{margin-top:5px;color:#566476}
#courseEditor[data-section=publishing] #publishResourceLink{padding:4px 0;font-size:12px;color:#f4510b}
#courseEditor[data-section=publishing] .editor-actionbar #statusButton{height:36px;font-size:12px;padding:7px 16px;background:#f4510b;color:#fff}
#courseEditor[data-section=publishing] .editor-actionbar #statusButton:disabled{background:#f1f3f5;color:#98a1ad;cursor:not-allowed;border:1px solid #e3e7ec}
#courseEditor[data-section=publishing] .editor-actionbar #saveMetadataButton{background:#fff;color:#344054;border:1px solid #dfe4eb}
