/* Shared visual language for teacher catalogues and their detail pages. */
:root[data-theme] .teacher-section-page { --teacher-ink: var(--library-text); --teacher-muted: var(--library-muted); --teacher-line: var(--library-border); --teacher-panel: var(--library-surface); --teacher-accent: var(--library-accent); padding-top: 26px; padding-bottom: 56px; color: var(--library-text); }
.teacher-section-page .teacher-unified-intro { max-width: 900px; margin: -4px 0 20px; color: var(--library-muted); font-size: 13px; line-height: 1.7; }
.teacher-section-page .library-catalog-heading { align-items: baseline; }
.teacher-section-page .library-catalog-heading h1 { font-size: 24px; font-weight: 600; line-height: 1.4; }
.teacher-section-page .library-results { font-size: 12px; }
.teacher-section-page :is(.teacher-software-hero,.teacher-category-hero,.esign-heading) { padding: 0; margin-bottom: 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.teacher-section-page :is(.teacher-software-hero,.teacher-category-hero,.esign-heading) h1 { display: inline; margin: 0; padding-bottom: 5px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; background: linear-gradient(#ffca2c80,#ffca2c80) 0 100% / 100% 7px no-repeat; }
.teacher-section-page :is(.teacher-software-hero,.teacher-category-hero,.esign-heading)>p { margin: 14px 0 0; color: var(--library-muted); font-size: 13px; line-height: 1.7; }
.teacher-section-page .teacher-software-gradient { background: none; color: var(--library-text); }
.teacher-section-page .teacher-software-hero>.teacher-eyebrow,.teacher-section-page .esign-heading>.library-eyebrow { display: block; font-size: 10px; margin-bottom: 10px; }
.teacher-section-page .teacher-section { margin-top: 28px; }
.teacher-section-page :is(.teacher-section-heading,.teacher-catalog-section-heading) { align-items: baseline; gap: 12px; margin-bottom: 16px; }
.teacher-section-page :is(.teacher-section-heading,.teacher-catalog-section-heading) h2 { margin: 5px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.teacher-section-page .teacher-eyebrow { font-size: 10px; font-weight: 600; }
.teacher-section-page .teacher-count,.teacher-section-page .teacher-catalog-result-count { font-size: 12px; }
.teacher-section-page .teacher-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.teacher-section-page .teacher-topics a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 14px; border: 1px solid var(--library-border); border-radius: 99px; background: var(--library-surface); color: var(--library-text); font-size: 12px; line-height: 1.5; text-decoration: none; }
.teacher-section-page .teacher-topics a:hover { border-color: var(--library-accent); color: var(--library-accent); }
.teacher-section-page .teacher-unified-search { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; padding: 16px; margin-bottom: 20px; border: 1px solid var(--library-border); border-radius: 14px; background: var(--library-surface); box-shadow: none; }
.teacher-section-page .teacher-unified-search label { display: block; font-size: 12px; margin-bottom: 7px; color: var(--library-muted); }
.teacher-section-page .teacher-unified-search input { height: 42px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--library-border); border-radius: 10px; background: var(--library-soft); color: var(--library-text); font-size: 13px; }
.teacher-section-page .teacher-unified-search .library-button { min-height: 42px; padding: 9px 22px; border: 1px solid transparent; border-radius: 99px; font-size: 14px; font-weight: 600; }
.teacher-section-page :is(.teacher-resource-grid,.teacher-catalog-grid,.teacher-software-grid) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.teacher-section-page :is(.teacher-resource-card,.teacher-publication-card,.teacher-catalog-card,.teacher-software-card,.teacher-empty,.teacher-journal-card,.esign-card) { min-width: 0; padding: 16px; border: 1px solid var(--library-border); border-radius: 14px; background: var(--library-surface); box-shadow: none; transition: border-color .18s,box-shadow .18s; }
.teacher-section-page :is(.teacher-resource-card,.teacher-publication-card,.teacher-catalog-card,.teacher-software-card,.teacher-journal-card,.esign-card):hover { transform: none; border-color: var(--library-accent); box-shadow: 0 8px 20px #0000000a; }
.teacher-section-page :is(.teacher-resource-card,.teacher-publication-card,.teacher-catalog-card,.teacher-software-card) h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.teacher-section-page :is(.teacher-resource-card,.teacher-publication-card,.teacher-catalog-card) p { font-size: 12px; line-height: 1.6; color: var(--library-muted); }
.teacher-section-page :is(.teacher-resource-meta,.teacher-publication-date,.teacher-publication-category,.teacher-catalog-card-meta) { color: var(--library-muted); font-size: 11px; }
.teacher-section-page .teacher-resource-icon { width: 44px; height: 44px; border: 1px solid var(--library-border); border-radius: 10px; background: var(--library-soft); color: var(--library-accent); font-size: 23px; }
.teacher-section-page .teacher-resource-icon img { object-fit: contain; }
.teacher-section-page .teacher-read-link,.teacher-section-page .teacher-catalog-card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; border: 1px solid var(--library-border); border-radius: 99px; background: var(--library-soft); color: var(--library-accent); font-size: 12px; font-weight: 600; text-decoration: none; }
.teacher-section-page .teacher-catalog-card { min-height: 0; }
.teacher-section-page .teacher-catalog-card-top { margin-bottom: 12px; }
.teacher-section-page .teacher-catalog-card-label { max-width: 100%; white-space: normal; font-weight: 600; letter-spacing: 0; }
.teacher-section-page .teacher-catalog-card-link { margin-top: 12px; }
.teacher-section-page .teacher-catalog-card-meta { padding-top: 10px; }
.teacher-section-page .teacher-catalog-file-icon { background: var(--library-soft); border-color: var(--library-border); }
.teacher-section-page .teacher-catalog-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 20px; }
.teacher-section-page .teacher-catalog-layout .teacher-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.teacher-section-page :is(.teacher-catalog-sidebar-panel,.teacher-catalog-sidebar-note,.teacher-catalog-resource) { padding: 16px; border: 1px solid var(--library-border); border-radius: 14px; background: var(--library-surface); box-shadow: none; }
.teacher-section-page .teacher-catalog-sidebar-panel h2,.teacher-section-page .teacher-catalog-sidebar-note h2 { font-size: 15px; font-weight: 600; }
.teacher-section-page .teacher-catalog-side-nav a { font-size: 12px; }
.teacher-section-page .teacher-catalog-side-nav a.is-current { background: var(--library-soft); color: var(--library-accent); }
.teacher-section-page .teacher-catalog-sidebar-note p { color: var(--library-muted); font-size: 12px; line-height: 1.7; }
.teacher-section-page .teacher-catalog-resource h3 { font-size: 14px; font-weight: 600; }
.teacher-section-page .teacher-catalog-resource p { font-size: 12px; }
.teacher-section-page .teacher-catalog-resource>span { font-size: 10px; }
.teacher-section-page .teacher-software-card { display: flex; flex-direction: column; min-height: 0; gap: 12px; }
.teacher-section-page .teacher-software-icon { width: 48px; height: 48px; min-height: 48px; border: 1px solid var(--library-border); border-radius: 10px; background: var(--library-soft); font-size: 25px; box-shadow: none; }
.teacher-section-page .teacher-software-content { min-width: 0; }
.teacher-section-page .teacher-software-content>p { font-size: 12px; line-height: 1.6; }
.teacher-section-page .teacher-platform-link { min-width: 0; padding: 10px 14px; border-radius: 12px; background: var(--library-surface); font-size: 12px; }
.teacher-section-page .teacher-platform-link strong { font-size: 13px; }
.teacher-section-page .teacher-platform-link small { font-size: 11px; }
.teacher-section-page .teacher-journals-filters { padding: 16px; border-radius: 14px; }
.teacher-section-page .teacher-journals-filters :is(input:not([type=hidden]),select) { min-height: 42px; font-size: 13px; border: 1px solid var(--library-border); border-radius: 10px; background-color: var(--library-soft); color: var(--library-text); }
.teacher-section-page .teacher-journals-filters .btn { min-height: 42px; border-radius: 99px; font-size: 13px; }
.teacher-section-page .teacher-journal-card h2 { font-size: 16px; }
.teacher-section-page .journal-quick-detail { max-width: none; }
.teacher-section-page .journal-quick-detail h1 { margin: 8px 0 14px; font-size: 24px; font-weight: 600; line-height: 1.4; }
.teacher-section-page .journal-quick-section { border-radius: 14px; }
.teacher-section-page .teacher-article { max-width: none; padding: 24px; border: 1px solid var(--library-border); border-radius: 14px; background: var(--library-surface); }
.teacher-section-page .teacher-article-header { padding: 0; }
.teacher-section-page .teacher-article-header h1 { margin: 8px 0 14px; font-size: 26px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.teacher-section-page .teacher-article-excerpt { font-size: 14px; line-height: 1.7; color: var(--library-muted); }
.teacher-section-page .teacher-article-meta { font-size: 11px; }
.teacher-section-page .teacher-article-body { margin-top: 20px; font-size: 15px; line-height: 1.8; color: var(--library-text); }
.teacher-section-page .teacher-article-body :is(img,video,iframe) { max-width: 100%; }
.teacher-section-page .teacher-article-body table { display: block; max-width: 100%; overflow-x: auto; }
.teacher-section-page .teacher-article-cover { width: 100%; max-height: 420px; object-fit: contain; margin-bottom: 20px; border-radius: 10px; }
.teacher-section-page :is(.teacher-article-files,.teacher-article-resources,.teacher-article-sources) h2 { font-size: 20px; font-weight: 600; }
.teacher-section-page .teacher-article-files li { gap: 12px; flex-wrap: wrap; }
.teacher-section-page .teacher-preview-alert { max-width: none; border-radius: 10px; font-size: 13px; }
.teacher-section-page :is(.esign-panel,.esign-notice) { border-radius: 14px; padding: 16px; }
.teacher-section-page .esign-guide-grid>a { border-radius: 14px; font-size: 12px; }
.teacher-section-page .esign-facts { font-size: 12px; }
.teacher-section-page .esign-panel h2 { font-size: 20px; font-weight: 600; }
.teacher-section-page :is(a,button,input,select,summary):focus-visible { outline: 3px solid var(--library-accent); outline-offset: 3px; }
.teacher-section-page :is(h2,section)[id] { scroll-margin-top: 24px; }
@media(max-width:991.98px) { .teacher-section-page :is(.teacher-resource-grid,.teacher-catalog-grid,.teacher-software-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; } .teacher-section-page .teacher-catalog-layout { grid-template-columns: minmax(0,1fr); } .teacher-section-page .teacher-catalog-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; } }
@media(max-width:575.98px) { :root[data-theme] .teacher-section-page { padding-top: 20px; } .teacher-section-page :is(.teacher-resource-grid,.teacher-catalog-grid,.teacher-software-grid),.teacher-section-page .teacher-catalog-layout .teacher-catalog-grid,.teacher-section-page .teacher-catalog-sidebar { grid-template-columns: minmax(0,1fr); } .teacher-section-page :is(.library-catalog-heading,.teacher-section-heading,.teacher-catalog-section-heading) { align-items: flex-start; flex-wrap: wrap; gap: 10px; } .teacher-section-page .library-catalog-heading h1,.teacher-section-page :is(.teacher-software-hero,.teacher-category-hero,.esign-heading) h1,.teacher-section-page .journal-quick-detail h1 { font-size: 23px; } .teacher-section-page .teacher-unified-search { grid-template-columns: minmax(0,1fr); padding: 14px; } .teacher-section-page :is(.teacher-section-heading,.teacher-catalog-section-heading) h2 { font-size: 20px; } .teacher-section-page .teacher-article { padding: 16px; } .teacher-section-page .teacher-article-header h1 { font-size: 23px; } .teacher-section-page .teacher-article-body { font-size: 14px; } }
@media(prefers-reduced-motion:reduce) { .teacher-section-page :is(.teacher-resource-card,.teacher-publication-card,.teacher-catalog-card,.teacher-software-card,.teacher-journal-card,.esign-card) { transition: none; transform: none; } }
