/* Teacher workspace design tokens, shared by the shell and embedded history. */
body.ui-teacher,body.teacher-history{
 --primary:#6264c8;--primary-hover:#5153b5;--primary-soft:#f3f2fb;--primary-selected:#eeedf9;--primary-tinted:#eeedf9;
 --bg:#f7f8fa;--surface:#fff;--surface-2:#f7f8fa;--border:#e6e8ed;--border-2:#e6e8ed;
 --text:#252932;--text-2:#6b7280;--text-weak:#88909c;--text-icon:#6b7280;
 --radius:8px;--radius-card:12px;--shadow-card:0 1px 3px #20263805;
 font-family:"Source Han Sans CN","Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);
}
body.ui-teacher button,body.ui-teacher input,body.ui-teacher select,body.ui-teacher textarea,body.teacher-history button,body.teacher-history input,body.teacher-history select{font-family:inherit;letter-spacing:0}
body.ui-teacher .panel-overlay .btn,body.ui-teacher .prep-workspace-shell .btn,body.teacher-history .btn{min-height:36px;border-radius:8px;font-size:14px;font-weight:400;padding:7px 14px;line-height:20px;box-shadow:none}
body.ui-teacher .panel-overlay .btn-primary,body.ui-teacher .prep-workspace-shell .btn-primary,body.teacher-history .btn-primary{background:var(--primary);border-color:var(--primary);color:white}
body.ui-teacher .panel-overlay .btn-outline,body.ui-teacher .prep-workspace-shell .btn-outline,body.teacher-history .btn-outline{background:white;border:1px solid var(--border);color:var(--text)}
body.ui-teacher .panel-overlay .input,body.ui-teacher .prep-workspace-shell .input,body.teacher-history .input{min-height:36px;font-size:14px;border:1px solid var(--border);border-radius:8px;padding:7px 10px}
body.ui-teacher .panel-overlay .btn:focus-visible,body.ui-teacher .canvas-category-nav button:focus-visible,body.teacher-history .btn:focus-visible{outline:2px solid #a8a9e5;outline-offset:2px}
body.ui-teacher .panel-overlay .po-head .title,body.ui-teacher .prep-workspace-title h2,body.teacher-history .bar h1{font-size:22px;font-weight:600;color:var(--text)}
body.ui-teacher .prep-workspace-title p,body.ui-teacher .module-page-heading>p,body.ui-teacher .prep-pane-title>span,body.teacher-history .bar p{display:none}
body.ui-teacher #teacher-shell>.main{height:100%;min-height:0;overflow:hidden}
body.ui-teacher #teacher-shell .stage{height:100%;min-height:0}
body.ui-teacher .panel-overlay.on{height:100%;min-height:0;overflow:hidden}
body.ui-teacher .panel-overlay>.po-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
body.ui-teacher .prep-workspace-shell{padding:24px;max-width:none}
body.ui-teacher .prep-workspace-toolbar{padding:0;margin-bottom:20px}
body.ui-teacher .prep-workspace-title h2{margin:0}
body.ui-teacher .prep-pane-head{padding:16px 24px;min-height:68px;border-bottom:1px solid var(--border)}
body.ui-teacher .prep-pane-title strong{font-size:16px;font-weight:500}
body.ui-teacher .schedule-segmented{background:#f0f0f6;border-radius:10px;padding:4px}
body.ui-teacher .schedule-segmented button{font-size:14px;padding:7px 12px;border-radius:7px;font-weight:400;color:var(--text-2)}
body.ui-teacher .schedule-segmented button[aria-selected="true"]{color:var(--primary);font-weight:500}
body.ui-teacher .schedule-day-title{font-size:16px;font-weight:500}
body.ui-teacher .schedule-item{box-shadow:none;border:1px solid var(--border);border-radius:12px}
body.ui-teacher .schedule-title-row strong{font-size:16px;font-weight:500}
body.ui-teacher .schedule-topic,body.ui-teacher .schedule-meta{font-size:12px;color:var(--text-2)}
body.ui-teacher .schedule-empty-state{background:var(--bg);border-radius:12px}
body.ui-teacher .schedule-empty-state h3{font-size:20px;font-weight:500;color:var(--text)}
body.ui-teacher .schedule-empty-state p{font-size:14px;color:var(--text-2)}
body.ui-teacher .canvas-category-nav button{font-size:14px;color:var(--text-2);border-radius:8px;padding:10px 12px;font-weight:400}
body.ui-teacher .canvas-category-nav button.active{background:var(--primary-selected);color:var(--primary);font-weight:500}
body.ui-teacher .canvas-category-nav .canvas-coming-soon{display:inline-flex;align-items:center;flex-shrink:0;margin-left:2px;color:var(--text-weak);font-size:11px;font-weight:400;line-height:18px;white-space:nowrap}
body.ui-teacher .canvas-category-nav button:disabled{cursor:not-allowed;opacity:.58}
body.ui-teacher .canvas-category-nav button:disabled:hover{background:transparent;color:var(--text-weak)}
body.ui-teacher .canvas-category-nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.ui-teacher .prep-library-card{border:1px solid var(--border);border-radius:12px;box-shadow:none}
body.ui-teacher .prep-library-card:hover{transform:none;box-shadow:none;border-color:#c7c7e7}
body.ui-teacher .prep-library-card-copy strong{font-size:16px;font-weight:500}
body.ui-teacher .prep-library-card-copy small{font-size:12px;color:var(--text-2)}
body.ui-teacher .prep-library-card-icon{background:var(--primary-soft);color:var(--primary);border-radius:8px}
body.ui-teacher .prep-library-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
body.ui-teacher .canvas-category-empty h3{font-size:18px;font-weight:500;color:var(--text)}
body.ui-teacher .canvas-category-empty p{font-size:14px;color:var(--text-2)}
body.ui-teacher .canvas-favorite svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}
body.ui-teacher .canvas-favorite[aria-pressed="true"] svg{fill:#f8dfa0;color:#b89530}
body.ui-teacher .collaboration-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;width:min(480px,calc(100vw - 32px));padding:24px;border:1px solid var(--border);border-radius:12px;box-shadow:0 16px 60px #25293220;color:var(--text)}
body.ui-teacher .collaboration-dialog::backdrop{background:#25293238}
body.ui-teacher .collaboration-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
body.ui-teacher .collaboration-dialog h3{font-size:18px;margin:0;font-weight:500}
body.ui-teacher .collaboration-dialog p{font-size:14px;color:var(--text-2)}
body.ui-teacher .collaboration-dialog .invite-link{width:100%;margin:12px 0;padding:10px;border:1px solid var(--border);border-radius:8px;font:inherit}
body.ui-teacher .collaboration-dialog .invite-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
body.ui-teacher .collaboration-dialog .invite-member{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}
/* History has one bounded scrolling content pane. */
body.teacher-history{overflow:hidden}
body.teacher-history .shell{height:100dvh;min-height:0;background:var(--bg)}
body.teacher-history .workspace{min-height:0;height:100%;overflow:hidden}
body.teacher-history .bar{height:68px;flex:0 0 68px;padding:0 24px;background:white}
body.teacher-history .content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}
body.teacher-history .hero{background:white;border:1px solid var(--border);border-radius:12px;box-shadow:none;color:var(--text);padding:20px 24px}
body.teacher-history .hero h2{font-size:18px;font-weight:500;margin:0}
body.teacher-history .hero p{display:none}
body.teacher-history .metric{border:0;background:var(--bg);border-radius:8px;min-width:90px;padding:12px}
body.teacher-history .metric b{font-size:22px;font-weight:500;color:var(--primary)}
body.teacher-history .metric span{font-size:12px;color:var(--text-2)}
body.teacher-history .lesson{box-shadow:none;border-radius:12px}
body.teacher-history .lesson:hover{transform:none;box-shadow:none}
body.teacher-history .lesson h3{font-size:16px;font-weight:500}
body.teacher-history .lesson-icon{background:var(--primary-soft);color:var(--primary);font-size:14px}
body.teacher-history .toolbar{flex-wrap:wrap}
body.teacher-history .search{min-width:0;width:100%}
@media(max-width:768px){body.ui-teacher .prep-workspace-shell{padding:16px}body.ui-teacher .prep-pane-head{padding:16px}body.teacher-history .content{padding:16px}body.teacher-history .hero{display:block;padding:16px}body.teacher-history .bar{padding:0 16px}body.teacher-history .metrics{gap:8px;margin-top:16px}body.teacher-history .metric{min-width:0;flex:1}body.teacher-history .grid{grid-template-columns:minmax(0,1fr)}}
body.ui-teacher .official-canvas-thumbnail{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-top:12px}
body.ui-teacher #teacher-shell .stage[data-workspace-mode="module"],body.ui-teacher #teacher-shell .panel-overlay,body.ui-teacher #teacher-shell .main{background:var(--bg)}
body.ui-teacher #sidebar .teacher-context-trigger-copy small{display:none}
body.ui-teacher #sidebar .teacher-context-trigger-copy strong{font-size:13px;font-weight:400}
body.ui-teacher #prep-schedule-region .prep-pane-title{display:none}
body.ui-teacher #prep-schedule-region .prep-pane-head{justify-content:flex-end}
body.ui-teacher .schedule-head{display:flex;flex-wrap:wrap}
body.ui-teacher .schedule-date-tools{max-width:none;justify-content:flex-end}
body.ui-teacher .schedule-date-tools select{width:170px;min-width:0}
body.ui-teacher .schedule-date-navigation{display:flex;gap:8px;align-items:center;flex:0 0 auto}
body.ui-teacher .schedule-date-navigation .btn{width:34px;min-width:34px;min-height:36px;padding:6px}
body.ui-teacher .schedule-date-navigation input{width:148px;min-width:148px}
body.ui-teacher .schedule-day-subtitle{font-size:12px}
body.ui-teacher #panel-history{background:var(--bg)}
@media(max-width:1000px){body.ui-teacher .schedule-head{align-items:flex-start}body.ui-teacher .schedule-date-tools{justify-content:flex-start;width:100%}}
body.ui-teacher #prep-library-region .prep-pane-title{display:none}
body.ui-teacher #prep-library-region .prep-pane-head{justify-content:flex-end}
body.ui-teacher .stage[data-workspace-mode="module"],body.ui-teacher #panel-prep,body.ui-teacher #panel-prep>.po-body,body.ui-teacher #panel-prep .prep-workspace-shell{background-image:none!important;background-color:var(--bg)}
/* Full-width workspace: no redundant page title or outer card. */
body.ui-teacher #panel-prep>.po-body{padding:0!important;background:white}
body.ui-teacher #panel-prep .prep-workspace-shell{width:100%;max-width:none;margin:0;padding:0;background:white}
body.ui-teacher #panel-prep .prep-workspace-toolbar{display:none}
body.ui-teacher #panel-prep .prep-workspace-pane{min-height:100%;margin:0;border:0;border-radius:0;box-shadow:none}
body.ui-teacher #panel-prep .prep-pane-head{padding:16px 24px;min-height:64px}
body.ui-teacher #panel-prep .prep-workspace-grid{min-height:100%}
body.ui-teacher #panel-prep[data-view="templates"] .canvas-library-layout{display:flex;flex-direction:column;min-height:0;border-top:0}
body.ui-teacher .canvas-category-nav{display:flex;flex-direction:row;align-items:center;gap:8px;padding:0 24px 12px;border-right:0;border-bottom:1px solid var(--border);overflow-x:auto;flex-wrap:wrap}
body.ui-teacher .canvas-category-nav button{white-space:nowrap;padding:8px 12px}
body.ui-teacher .canvas-category-nav button.canvas-subcategory{margin-left:0;font-size:13px;padding:6px 10px}
body.ui-teacher .canvas-category-nav .canvas-subcategory[hidden]{display:none}
body.ui-teacher .canvas-category-nav .canvas-subcategory:not([hidden]){order:2}
body.ui-teacher .canvas-category-nav::after{content:"";flex-basis:100%;order:1;height:0}
body.ui-teacher .canvas-library-tools{border-bottom:0;padding:16px 24px;justify-content:flex-end}
body.ui-teacher #prep-library-content{padding-top:0}
body.ui-teacher #panel-tc-list>.po-head{display:none}
body.ui-teacher #panel-tc-list>.po-body{padding:24px!important}
body.teacher-history .bar{display:none}
body.teacher-history .workspace{height:100dvh}
@media(max-width:768px){body.ui-teacher #panel-prep .prep-pane-head{padding:12px 16px}body.ui-teacher .canvas-category-nav{padding:0 16px 12px;gap:4px}body.ui-teacher .canvas-library-tools{padding:16px}body.ui-teacher #panel-tc-list>.po-body{padding:16px!important}}
body.ui-teacher .canvas-template-preview{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:#f7f8fa;border-bottom:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:16px;color:var(--text-weak);font-size:12px}
body.ui-teacher .canvas-template-preview img{width:100%;height:100%;object-fit:contain}
body.ui-teacher .canvas-collaboration-badge{position:absolute;right:8px;top:8px;display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;background:#eeedf9;color:var(--primary);font-size:12px}
body.ui-teacher .canvas-collaboration-badge svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
body.ui-teacher #panel-prep .prep-pane-head{display:none}
body.ui-teacher .canvas-category-nav{padding-top:16px}
body.ui-teacher .canvas-library-tools .btn{flex-shrink:0}
body.ui-teacher .schedule-filter-toolbar{margin-top:0;padding-top:16px}
body.ui-teacher .prep-library-more summary svg{fill:currentColor;stroke:none;width:24px;height:24px;flex-shrink:0}
/* Canvas library: shared page gutters and consistent card alignment. */
body.ui-teacher #prep-library-region{--library-gutter:24px}
body.ui-teacher #prep-library-region .canvas-category-nav{padding-left:var(--library-gutter);padding-right:var(--library-gutter)}
body.ui-teacher #prep-library-region .canvas-library-tools{padding:16px var(--library-gutter);gap:12px;align-items:center;flex-wrap:wrap}
body.ui-teacher #prep-library-region #canvas-search{flex:1;min-width:180px;max-width:320px;margin-right:auto;height:36px}
body.ui-teacher #prep-library-content{padding:0 var(--library-gutter) 24px}
body.ui-teacher #prep-library-content .prep-library-list{gap:16px;padding-right:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:stretch}
body.ui-teacher #prep-library-content .prep-library-card{display:flex;flex-direction:column;min-width:0;padding:16px}
body.ui-teacher #prep-library-content .canvas-template-preview{flex-shrink:0;width:100%;margin:0 0 16px}
body.ui-teacher #prep-library-content .prep-library-card-head{gap:12px;align-items:flex-start;margin-bottom:16px}
body.ui-teacher #prep-library-content .prep-library-card-icon{width:36px;height:36px;flex:0 0 36px}
body.ui-teacher #prep-library-content .prep-library-card-copy strong{line-height:24px}
body.ui-teacher #prep-library-content .prep-library-card-copy small{margin-top:4px;line-height:20px;overflow-wrap:anywhere}
body.ui-teacher #prep-library-content .prep-library-card-actions{margin-top:auto;padding-top:12px;gap:8px;align-items:center}
body.ui-teacher #prep-library-content .prep-library-card-actions>.btn{height:36px;min-height:36px;white-space:nowrap}
body.ui-teacher #prep-library-content .prep-library-secondary-actions{margin-left:auto;gap:8px;align-items:center}
body.ui-teacher #prep-library-content .canvas-favorite,body.ui-teacher #prep-library-content .prep-library-more>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;line-height:1}
body.ui-teacher #prep-library-content .canvas-favorite svg{width:20px;height:20px}
@media(max-width:768px){body.ui-teacher #prep-library-region{--library-gutter:16px}body.ui-teacher #prep-library-region #canvas-search{max-width:none;flex-basis:100%}body.ui-teacher #prep-library-region .canvas-sort-menu{flex:1;min-width:0}}
/* Schedule controls use one icon grid while native selects keep their anchored, dismissible menus. */
body.ui-teacher #schedule-create,body.ui-teacher #schedule-refresh{display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.ui-teacher #schedule-create>.lucide,body.ui-teacher #schedule-refresh>.lucide{width:18px;height:18px;flex:0 0 18px;stroke-width:1.8}
body.ui-teacher .schedule-date-tools{align-items:center;gap:10px}
body.ui-teacher .schedule-select-control{position:relative;display:inline-flex;align-items:center;flex:0 1 auto;min-width:120px;max-width:220px}
body.ui-teacher .schedule-select-control select{box-sizing:border-box;width:100%;height:38px;min-height:38px;padding:0 36px 0 12px;appearance:none;-webkit-appearance:none;background-image:none;line-height:1.25}
body.ui-teacher .schedule-select-control>.lucide{position:absolute;right:11px;width:16px;height:16px;pointer-events:none;color:var(--text-2);stroke-width:1.8}
body.ui-teacher .schedule-date-navigation{gap:8px}
body.ui-teacher .schedule-date-navigation>.btn{display:grid;place-items:center;box-sizing:border-box;width:36px;min-width:36px;height:36px;min-height:36px;padding:0}
body.ui-teacher .schedule-date-navigation>.btn>.lucide{width:18px;height:18px;stroke-width:1.8}
body.ui-teacher .schedule-date-picker{position:relative;display:inline-flex;align-items:center}
body.ui-teacher .schedule-date-picker input{box-sizing:border-box;width:148px;min-width:148px;height:36px;padding-right:34px}
body.ui-teacher .schedule-date-picker>.lucide{position:absolute;right:10px;width:16px;height:16px;pointer-events:none;color:var(--text-2);stroke-width:1.8}
body.ui-teacher .schedule-date-picker input::-webkit-calendar-picker-indicator{position:absolute;right:6px;width:24px;height:24px;opacity:0;cursor:pointer}
body.ui-teacher .teacher-context-chevron.lucide{display:block;width:18px;height:18px;font-size:initial;stroke-width:1.8}
body.ui-teacher .teacher-account-chevron.lucide{display:block;width:16px;height:16px;font-size:initial;stroke-width:1.8}
body.ui-teacher #prep-create-open{display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.ui-teacher #prep-create-open>.lucide{width:18px;height:18px;flex:0 0 18px;stroke-width:1.8}
body.ui-teacher .teacher-org-combobox:has(.teacher-org-results:not([hidden])) #context-org-search{border-bottom-left-radius:0;border-bottom-right-radius:0}
body.ui-teacher .teacher-org-results{top:100%;margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}
@media(max-width:900px){body.ui-teacher .schedule-select-control{flex:1 1 180px;max-width:none}body.ui-teacher .schedule-date-picker{flex:1 1 auto}body.ui-teacher .schedule-date-picker input{width:100%;min-width:0}}
body.ui-teacher .canvas-sort-menu{position:relative;min-width:220px;z-index:5}
body.ui-teacher .canvas-sort-menu summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font-size:14px}
body.ui-teacher .canvas-sort-menu summary::-webkit-details-marker{display:none}
body.ui-teacher .canvas-sort-menu summary svg{width:18px;height:18px;fill:none;stroke:var(--text-weak);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
body.ui-teacher .canvas-sort-chevron{margin-left:auto}
body.ui-teacher .canvas-sort-menu[open] .canvas-sort-chevron{transform:rotate(180deg)}
body.ui-teacher .canvas-sort-popover{position:absolute;right:0;top:calc(100% + 8px);width:250px;max-width:calc(100vw - 96px);padding:8px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 32px #25293218}
body.ui-teacher .canvas-sort-popover button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:8px;background:transparent;text-align:left;font:inherit;cursor:pointer;color:var(--text)}
body.ui-teacher .canvas-sort-popover button::before{content:"";width:18px;flex:0 0 18px}
body.ui-teacher .canvas-sort-popover button[aria-checked="true"]{background:var(--primary-selected);color:var(--primary)}
body.ui-teacher .canvas-sort-popover button[aria-checked="true"]::before{content:"✓"}
body.ui-teacher .canvas-sort-popover button:hover{background:var(--primary-soft)}
body.ui-teacher .canvas-sort-divider{height:1px;background:var(--border);margin:8px 4px}
body.ui-teacher .canvas-sort-section{display:block;padding:4px 40px;color:var(--text-weak);font-size:12px}
/* Web Awesome Select: consistent anchored listboxes replace OS-native popovers. */
body.ui-teacher wa-select.teacher-standard-select{display:block;box-sizing:border-box;width:100%;min-width:0;--wa-color-brand-40:var(--primary);--wa-color-brand-50:var(--primary);--wa-color-brand-60:var(--primary);--wa-color-focus:var(--primary);--wa-form-control-height-small:38px;--wa-form-control-border-radius:8px;--wa-form-control-border-color:var(--border);--wa-form-control-border-color-hover:var(--primary);--wa-form-control-font-size-small:14px}
body.ui-teacher wa-select.teacher-standard-select::part(combobox){min-height:38px;border-radius:8px;background:var(--surface);box-shadow:none}
body.ui-teacher wa-select.teacher-standard-select::part(display-input){font:inherit;color:var(--text)}
body.ui-teacher wa-select.teacher-standard-select::part(listbox){z-index:1000;max-height:min(280px,45vh);margin-top:4px;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px rgba(24,32,56,.14)}
body.ui-teacher .schedule-select-control wa-select{width:100%;min-width:0}
body.ui-teacher #body-tc-list wa-select#tc-sis-org{width:320px;max-width:100%;min-width:0}
@media(max-width:640px){body.ui-teacher #body-tc-list wa-select#tc-sis-org{width:100%}}
/* Paint meaningful geometry immediately; never flash a loading text page. */
.workspace-skeleton{width:100%;padding:20px 0}.skeleton-toolbar{display:flex;justify-content:space-between;gap:24px;margin-bottom:24px}.skeleton-block{position:relative;display:block;background:#eeeff4;border-radius:6px;overflow:hidden;height:14px;font-style:normal}.skeleton-block::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,#ffffffb0,transparent);animation:workspace-shimmer 1.4s ease-in-out infinite}.skeleton-title{height:18px;width:55%}.skeleton-line{width:85%}.skeleton-short{width:100px}.skeleton-medium{width:200px;height:32px}.skeleton-items{display:grid;gap:16px}.skeleton-cards .skeleton-items{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.skeleton-item{padding:20px;border:1px solid var(--border,#e6e8ed);border-radius:12px;background:white}.skeleton-thumbnail{height:auto;aspect-ratio:16/9;margin-bottom:16px}.skeleton-copy{display:grid;gap:12px;flex:1}.skeleton-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:10px}.skeleton-classes .skeleton-item,.skeleton-schedule .skeleton-item{display:flex;gap:20px;align-items:center;min-height:100px}.skeleton-count{width:70px;height:12px;display:inline-block}.teacher-history .grid>.workspace-skeleton{grid-column:1/-1}
@keyframes workspace-shimmer{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.skeleton-block::after{animation:none}}
@media(max-width:768px){.skeleton-cards .skeleton-items{grid-template-columns:minmax(0,1fr)}.skeleton-medium{width:100px}.skeleton-item{padding:16px}}
.canvas-picker-dialog>.workspace-skeleton{padding:20px;max-height:65dvh;overflow:auto}

body.ui-teacher button.canvas-template-preview{width:100%;padding:0;border:0;border-bottom:1px solid var(--border);font:inherit;cursor:pointer}
body.ui-teacher button.canvas-template-preview:focus-visible{outline:2px solid var(--primary,#6961d8);outline-offset:3px}
body.ui-teacher button.canvas-template-preview:disabled{cursor:default}
