/* Shared jade surfaces; every control remains reachable without hover or drag. */
.courses-page,.cc-project,.cc-workspace,.cc-admin{min-width:0;overflow-wrap:anywhere}.courses-page section,.cc-workspace-section{scroll-margin-top:96px}.courses-page button,.cc-project button,.cc-workspace button,.cc-admin button,.cc-carousel button{min-height:44px}.courses-page fieldset{border:0;margin:0;padding:0;min-width:0}.cc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cc-actions .field{margin:0;min-width:0}.cc-actions>button,.cc-actions>.btn{flex-shrink:0}.cc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.cc-form-grid .field{margin:0;min-width:0}.cc-form-grid input,.cc-form-grid select,.cc-form-grid textarea{width:100%;min-width:0}.cc-form-grid textarea{min-height:110px}.cc-wide{grid-column:1/-1}.cc-empty{padding:24px 0;color:var(--muted);line-height:1.7}.cc-empty h2,.cc-empty h3{color:var(--text);font-size:1.25rem;margin:0 0 8px}.cc-empty p{max-width:65ch}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.course-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);min-width:0}.course-card img{width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;border-bottom:1px solid var(--line)}.course-card>div{padding:22px}.course-card h2{font-size:1.25rem;line-height:1.4;margin:10px 0}.course-card small,.course-status{color:var(--muted)}.course-card p{line-height:1.7}.course-eyebrow{font-size:.875rem;color:var(--muted);line-height:1.7}.course-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:40px;align-items:start;margin:32px 0}.course-directory{border-right:1px solid var(--line);padding-right:24px;position:sticky;top:92px;max-height:calc(100dvh - 112px);overflow:auto}.course-directory>a,.course-directory li a{display:flex;flex-direction:column;padding:12px 14px;border-radius:8px;min-height:44px;line-height:1.55}.course-directory h3{font-size:.875rem;margin:24px 14px 8px;color:var(--muted)}.course-directory ol{padding:0;margin:0;list-style:none}.course-directory li{margin:3px 0}.course-directory [aria-current=page]{background:var(--soft);color:var(--brand);font-weight:700}.course-directory small{font-weight:400;color:var(--muted)}.course-content{min-width:0}.course-content>h2{font-size:1.8rem;line-height:1.35;margin:8px 0 28px}.course-content section{padding:8px 0 18px}.course-content section h3{font-size:1rem;margin:16px 0 8px}.course-content p{line-height:1.8}.course-cover{width:100%;height:auto;object-fit:contain;border-radius:12px}.course-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.course-facts dt{color:var(--muted);font-size:.875rem;margin-bottom:6px}.course-facts dd{margin:0;line-height:1.7;white-space:pre-wrap}.course-next{display:flex;justify-content:space-between;gap:16px;padding:24px 0;border-top:1px solid var(--line);margin-top:28px}.course-resource{border-top:1px solid var(--line);margin-top:12px}.course-resource>.preserve-lines{max-height:600px;overflow:auto;background:var(--soft);padding:20px;border-radius:10px}.course-lesson-editor{border:1px solid var(--line);border-radius:10px;margin:14px 0;overflow:hidden}.course-lesson-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:revert;min-height:60px}.course-lesson-editor>summary strong{font-size:1rem}.course-lesson-editor>summary small{color:var(--muted);font-size:.8125rem}.course-lesson-editor>.cc-form-grid{padding:0 20px 16px}.course-chapter-editor{display:flex;align-items:end;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.course-chapter-editor>.field{flex:1;min-width:0;margin:0}.course-material{display:grid;grid-template-columns:1fr 2fr auto;align-items:end;gap:12px;margin-bottom:12px}.cc-conflict{padding:22px;border:1px solid var(--brand);background:var(--soft);border-radius:10px;margin-top:24px}.cc-conflict pre{white-space:pre-wrap;max-height:400px;overflow:auto}.cc-conflict button{margin:12px 12px 0 0}.course-grant{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}.course-grant h3{margin:0 0 8px;font-size:1rem}.course-grant p{margin:0;color:var(--muted)}.cc-workspace-section{padding:28px 0;border-top:1px solid var(--line);margin-top:24px}.cc-project{padding:32px 0;margin-top:40px;border-top:1px solid var(--line)}.cc-stats{display:flex;flex-wrap:wrap;gap:20px 32px;margin:20px 0}.cc-stats>div{display:flex;flex-direction:column-reverse;gap:6px}.cc-stats dt{font-size:.8125rem;color:var(--muted)}.cc-stats dd{font-size:1.6rem;line-height:1.2;margin:0;font-variant-numeric:tabular-nums}.cc-reactions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.cc-reactions [aria-pressed=true]{border-color:var(--brand);color:var(--brand);background:var(--soft)}.cc-comments{margin-top:32px;max-width:850px}.cc-comment-form,.cc-thanks-form{padding:20px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin:18px 0}.cc-comment-form .field,.cc-thanks-form .field{margin:0 0 14px}.cc-comment-form textarea,.cc-thanks-form textarea{width:100%;min-height:100px}.cc-comment-form small{display:block;color:var(--muted);margin-bottom:12px}.cc-comment{padding:22px 0;border-top:1px solid var(--line)}.cc-comment>header{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 18px}.cc-comment>header span{font-size:.8125rem;color:var(--muted)}.cc-comment>p{line-height:1.8;margin:10px 0}.cc-comment>.cc-actions button{border:0;background:transparent;padding:8px 12px;font-size:.875rem;color:var(--brand)}.cc-reply{margin-left:28px;border-left:1px solid var(--line);border-top:0;padding:14px 0 8px 20px;margin-top:14px}.cc-import{padding:18px 22px;background:var(--soft);border-radius:10px;margin:20px 0}.cc-import p{margin:0 0 14px;line-height:1.7}.cc-bookmark{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.cc-bookmark small{display:block;color:var(--muted);margin-top:6px}.cc-feedback{padding:0;list-style:none}.cc-feedback li{padding:16px 0;border-bottom:1px solid var(--line)}.cc-feedback li.is-unread a{font-weight:700}.cc-feedback small{display:block;color:var(--muted);font-size:.8125rem;margin-top:6px}.cc-card-stats{display:flex;flex-wrap:wrap;gap:12px;padding:0 18px 18px;font-size:.8125rem;color:var(--muted)}.cc-report{padding:20px 0;border-bottom:1px solid var(--line)}.cc-report>small{color:var(--muted)}.cc-carousel{margin:0 0 28px;min-width:0;position:relative}.cc-carousel-track{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--soft)}.cc-slide[hidden]{display:none!important}.cc-slide>a{display:grid;grid-template-columns:1.1fr 1fr;min-height:260px;color:var(--text)}.cc-slide img{width:100%;height:100%;max-height:320px;object-fit:cover}.cc-slide>a>div{padding:32px 40px;display:flex;flex-direction:column;justify-content:center;align-items:start}.cc-slide h3{font-size:1.7rem;line-height:1.4;margin:8px 0 16px}.cc-slide .guide-text-link{margin-top:12px}.cc-carousel-arrows{position:absolute;inset:50% 12px auto;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}.cc-carousel-arrows button{pointer-events:auto;background:var(--paper);color:var(--text);border:1px solid var(--line);box-shadow:0 3px 12px #0001;min-width:44px;opacity:0;transition:opacity .16s ease}.cc-carousel:hover .cc-carousel-arrows button,.cc-carousel:focus-within .cc-carousel-arrows button{opacity:1}.cc-carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:8px}.cc-carousel-dots button{padding:8px;min-width:44px;border:0;background:transparent;color:var(--muted);border-radius:8px}.cc-carousel-dots [aria-pressed=true]{color:var(--brand);font-weight:700;background:var(--soft)}.cc-carousel>.library-note{text-align:center;margin:12px 0 0}.cc-admin .cc-form-grid>button{align-self:end;min-height:44px}.courses-page :focus-visible,.cc-project :focus-visible,.cc-admin :focus-visible,.cc-workspace :focus-visible,.cc-carousel :focus-visible{outline:2px solid var(--brand);outline-offset:3px}.course-run-frame{width:100%;height:65vh;border:1px solid var(--line);margin-top:20px}
@media (max-width:1000px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.cc-slide>a>div{padding:26px}.cc-slide h3{font-size:1.4rem}}
@media (max-width:720px){.course-layout{grid-template-columns:1fr}.course-directory{position:static;max-height:none;border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.course-directory ol{display:grid;grid-template-columns:1fr 1fr;gap:4px}.course-directory h3{margin-top:14px}.course-content>h2{font-size:1.5rem}.course-chapter-editor,.course-grant{align-items:stretch;flex-direction:column;gap:12px}.cc-form-grid{grid-template-columns:1fr}.cc-wide{grid-column:auto}.course-material{grid-template-columns:1fr}.course-material>button{justify-self:start}.course-facts{gap:20px}.cc-slide>a{grid-template-columns:1fr}.cc-slide img{aspect-ratio:16/9;height:auto;max-height:240px}.cc-slide>a>div{padding:20px 24px}.cc-slide h3{margin:2px 0 10px}.cc-slide .guide-text-link{margin-top:0}.cc-carousel-arrows{inset:120px 10px auto}.cc-carousel-arrows button{opacity:1}.cc-carousel .section-title h2{font-size:1.2rem}.cc-reply{margin-left:10px;padding-left:12px}.cc-stats{gap:18px 24px}.course-lesson-editor>summary{align-items:start;flex-direction:column;gap:4px}.course-next{flex-wrap:wrap}.course-next .btn{flex:1}.cc-bookmark{align-items:start;flex-direction:column;gap:12px}}
@media(max-width:480px){.course-grid{grid-template-columns:1fr}.course-facts{grid-template-columns:1fr}.course-directory ol{grid-template-columns:1fr}.cc-comment-form,.cc-thanks-form{padding:16px}.cc-actions>.field{flex-basis:100%}.cc-carousel-track{border-radius:10px}.cc-stats dd{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.cc-carousel-arrows button{transition:none}.cc-carousel *{scroll-behavior:auto!important}}
/* Compact community discovery controls and accessible outline statistics. */
.cc-stat-icon{width:18px;height:18px;flex:none;vertical-align:middle}.cc-card-stat{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap}.cc-card-stats{gap:20px;color:var(--muted)}.cc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.cc-filter-panel{border:1px solid var(--line);border-radius:12px;background:var(--paper);margin:8px 0 24px;min-width:0}.cc-filter-panel>summary{display:flex;align-items:center;gap:16px;min-height:56px;padding:14px 18px;list-style:none;cursor:pointer}.cc-filter-panel>summary::-webkit-details-marker{display:none}.cc-filter-label{display:flex;align-items:center;gap:9px;font-weight:600;color:var(--text);white-space:nowrap}.cc-filter-description{flex:1;min-width:0;color:var(--muted);font-size:.875rem;overflow-wrap:anywhere;line-height:1.5}.cc-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;font-size:.75rem;border-radius:11px;color:var(--brand);background:var(--soft)}.cc-filter-panel>summary>.cc-stat-icon{color:var(--muted);transition:transform .16s ease}.cc-filter-panel[open]>summary>.cc-stat-icon{transform:rotate(180deg)}.cc-filter-panel>.project-query{margin:0;padding:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cc-filter-panel .field{margin:0;min-width:0}.cc-filter-panel input,.cc-filter-panel select{width:100%;min-width:0;min-height:44px}.cc-filter-panel .project-query>button{align-self:end;min-height:44px}.cc-filter-panel :focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:900px){.cc-filter-panel>.project-query{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cc-filter-panel>summary{gap:10px;flex-wrap:wrap}.cc-filter-description{order:3;flex-basis:100%;font-size:.8125rem}.cc-filter-panel>summary>.cc-stat-icon{margin-left:auto}.cc-filter-panel>.project-query{grid-template-columns:1fr;padding:16px}.cc-card-stats{gap:18px}}
@media(prefers-reduced-motion:reduce){.cc-filter-panel>summary>.cc-stat-icon{transition:none}}
/* Teacher-facing discovery cards; workspace and version cards keep their layout. */
.public-project-grid .cc-project-card{min-width:0;display:flex;flex-direction:column}
.public-project-grid .cc-project-card>.cc-project-card-link{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:0;height:auto;min-height:44px;color:var(--text)}
.public-project-grid .cc-project-card .cc-card-cover{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:0;border-bottom:1px solid var(--line);border-radius:0}
.cc-project-card .cc-card-content{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px 20px 16px}
.cc-project-card .cc-card-heading{display:flex;align-items:start;gap:12px;min-width:0}
.cc-project-card .cc-card-heading>.cc-card-title{flex:1;min-width:0}
.cc-project-card .cc-card-open{flex-shrink:0;font-size:18px;line-height:28px;color:var(--brand)}
.cc-project-card .cc-card-title{font-size:20px;font-weight:650;line-height:1.4;margin:0;overflow-wrap:anywhere;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cc-project-meta{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.cc-project-meta .cc-fit-chip{display:inline-flex;align-items:center;min-height:26px;max-width:100%;padding:4px 8px;border-radius:5px;background:var(--soft);color:var(--brand);font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.cc-project-meta .cc-fit-ageRange{font-weight:650}
.cc-project-card .cc-project-purpose,.cc-teaching-carousel .cc-project-purpose{margin:0;color:var(--text);font-size:14px;line-height:1.7;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cc-project-context{display:grid;gap:3px;min-width:0;width:100%;color:var(--muted)}
.cc-project-context .cc-context-item{margin:0;font-size:12px;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.cc-context-label{font-weight:600;margin-right:6px}
.cc-project-card .cc-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:0 20px;padding:12px 0 16px;border-top:1px solid var(--line)}
.cc-project-kind{font-size:12px;font-weight:400;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
.cc-project-card .cc-card-stats{padding:0;margin:0;gap:14px;font-size:12px}
.cc-project-card .cc-card-stat{gap:5px}
.cc-project-card .cc-stat-icon{width:16px;height:16px}
.cc-project-card:focus-within{border-color:var(--brand)}
.cc-project-card .cc-project-card-link:focus-visible{outline:2px solid var(--brand);outline-offset:-3px;border-radius:11px}
.cc-teaching-carousel .cc-slide>a{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:300px}
.cc-teaching-carousel .cc-slide-text>a{grid-template-columns:minmax(0,1fr)}
.cc-teaching-carousel .cc-slide .cc-slide-cover{height:100%;max-height:none;object-fit:cover}
.cc-teaching-carousel .cc-slide>a>.cc-carousel-copy{padding:26px 36px;gap:10px;min-width:0}
.cc-teaching-carousel .cc-slide-eyebrow{margin:0;font-size:12px;line-height:1.65;color:var(--muted)}
.cc-teaching-carousel .cc-carousel-title{margin:0;font-size:28px;line-height:1.35;overflow-wrap:anywhere;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cc-teaching-carousel .cc-slide .guide-text-link{margin:2px 0 0;font-size:14px}
/* The copy occupies 10/21 of the desktop grid; both arrows stay over the cover. */
.cc-teaching-carousel .cc-carousel-arrows{right:calc(47.6191% + 12px)}
.cc-teaching-carousel .cc-slide-text:not([hidden])~.cc-carousel-arrows{position:static;inset:auto;transform:none;margin:0 24px 20px}
.cc-teaching-carousel .cc-slide-text:not([hidden])~.cc-carousel-arrows button{opacity:1}
@media(max-width:900px){
 .cc-teaching-carousel .cc-slide>a{grid-template-columns:minmax(0,1fr)}
 .cc-teaching-carousel .cc-slide .cc-slide-cover{height:auto;aspect-ratio:16/9;max-height:240px}
 .cc-teaching-carousel .cc-carousel-arrows{inset:120px 10px auto}
 .cc-teaching-carousel .cc-carousel-arrows button{opacity:1}
}
@media(max-width:720px){
 .cc-teaching-carousel .cc-slide>a>.cc-carousel-copy{padding:20px 24px}
 .cc-teaching-carousel .cc-carousel-title{font-size:23px}
}
@media(max-width:480px){
 .cc-project-card .cc-card-content{padding:17px 18px 15px}
 .cc-project-card .cc-card-footer{margin-inline:18px}
 .cc-teaching-carousel .cc-slide>a>.cc-carousel-copy{padding:20px}
}
.cc-project-attribution{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.cc-project-attribution>span{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:4px}
.cc-project-attribution>strong{display:block;font-size:16px;font-weight:600;line-height:1.5;color:var(--text)}

/* Discovery masthead: a teaching invitation beside real, current public work. */
.cc-discovery-hero{display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);align-items:center;gap:clamp(32px,4vw,64px);min-width:0;margin:4px 0 32px;padding:24px 0 32px;border-bottom:1px solid var(--line)}
.cc-hero-intro,.cc-hero-showcase{min-width:0}
.cc-hero-intro{padding-block:12px 24px}
.cc-hero-title{margin:0;color:var(--brand);font-family:"Songti SC","Songti TC","STSong","Noto Serif CJK SC",serif;font-size:clamp(44px,4.35vw,64px);font-weight:600;line-height:1.38;letter-spacing:.025em;text-wrap:balance}
.cc-hero-title>span{display:block}
:lang(en) .cc-hero-title{font-family:inherit;font-size:clamp(40px,4vw,58px);font-weight:650;line-height:1.16;letter-spacing:-.035em}
.cc-hero-description{max-width:33ch;margin:24px 0 27px;color:var(--muted);font-size:18px;line-height:1.8;text-wrap:pretty}
:lang(en) .cc-hero-description{max-width:39ch;line-height:1.75}
.cc-discovery-hero .cc-hero-browse{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 20px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:var(--paper);font-size:18px;font-weight:600;line-height:1.6;cursor:pointer}
.cc-discovery-hero .cc-hero-browse:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.cc-discovery-hero .cc-hero-browse:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.cc-hero-icon,.cc-hero-icon>svg{display:block;width:19px;height:19px}
.cc-hero-state{display:flex;flex-direction:column;justify-content:center;min-height:250px;padding:28px 0 28px 32px;border-left:1px solid var(--line);color:var(--muted)}
.cc-hero-state h2{margin:0 0 12px;color:var(--text);font-size:24px;font-weight:600;line-height:1.45}
.cc-hero-state p{max-width:42ch;margin:0;line-height:1.8}
.cc-hero-state .cc-empty{padding:0}
.cc-hero-state button{margin-top:18px;min-height:44px}
.cc-feature-carousel{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:0;border:0;background:transparent}
.cc-feature-carousel>.cc-feature-header{grid-row:1;margin:0;display:block}
.cc-feature-carousel>.cc-feature-header h2{margin:0;color:var(--muted);font-size:16px;font-weight:550;line-height:1.5}
.cc-feature-carousel>.cc-feature-stage{grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;min-width:0}
.cc-feature-carousel>.cc-feature-single{grid-template-columns:minmax(0,1fr)}
.cc-feature-carousel .cc-feature-track{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;border:0;border-radius:0;background:transparent;overflow:visible}
.cc-feature-carousel .cc-feature-track>.cc-slide{grid-area:1/1;align-self:start;min-width:0;animation:none;transition:none}
/* All actual slides reserve their space; inactive content cannot receive focus. */
.cc-feature-carousel .cc-feature-track>.cc-slide[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.cc-feature-carousel .cc-slide>.cc-feature-link{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start;min-width:0;min-height:44px;padding:0;background:transparent;color:var(--text);border-radius:8px;animation:none;transition:none}
.cc-feature-carousel .cc-slide>.cc-feature-link>.cc-feature-media{position:relative;display:grid;place-items:center;align-self:start;min-width:0;aspect-ratio:16/9;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
.cc-feature-carousel .cc-slide .cc-feature-media>.cc-slide-cover{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border:0;border-radius:0}
.cc-feature-carousel .cc-slide>.cc-feature-link>.cc-carousel-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 16px;min-width:0;padding:0}
.cc-feature-carousel .cc-carousel-copy>.cc-slide-eyebrow,.cc-feature-carousel .cc-carousel-copy>.cc-project-meta,.cc-feature-carousel .cc-carousel-copy>.cc-project-purpose,.cc-feature-carousel .cc-carousel-copy>.cc-project-context{grid-column:1/-1}
.cc-feature-carousel .cc-carousel-copy>.cc-carousel-title{grid-column:1;grid-row:2}
.cc-feature-carousel .cc-carousel-title{margin:0;font-size:32px;font-weight:650;line-height:1.35;color:var(--text);-webkit-line-clamp:2}
.cc-feature-carousel .cc-project-meta{gap:5px;margin:0;max-height:64px;overflow:hidden}
.cc-feature-carousel .cc-project-meta .cc-fit-chip{display:block;max-width:100%;padding:4px 8px;min-height:28px;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cc-feature-carousel .cc-project-purpose{font-size:18px;line-height:1.65;-webkit-line-clamp:2}
.cc-feature-carousel .cc-project-context{gap:2px}
.cc-feature-carousel .cc-project-context .cc-context-item{font-size:14px;line-height:1.6}
.cc-feature-carousel .cc-slide-eyebrow{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.cc-feature-carousel .cc-slide .guide-text-link{display:inline-flex;align-items:center;gap:7px;grid-column:2;grid-row:2;align-self:center;min-height:44px;margin:0;font-size:18px;white-space:nowrap;font-weight:600;line-height:1.7;color:var(--brand)}
.cc-feature-carousel .cc-feature-link:hover .cc-carousel-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--brand)}
.cc-feature-carousel .cc-feature-link:focus-visible{outline:2px solid var(--brand);outline-offset:5px}
.cc-feature-peeks{grid-column:2;grid-row:1/3;display:grid;align-self:center;min-width:0}
.cc-feature-peek{grid-area:1/1;min-width:0}
.cc-feature-peek[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.cc-feature-carousel .cc-next-button{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;row-gap:4px;align-items:center;width:100%;min-width:44px;min-height:44px;margin:0;padding:0;text-align:start;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;box-shadow:none;cursor:pointer}
.cc-next-label{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:start;gap:8px;min-height:24px;font-size:14px;line-height:1.5;color:var(--muted)}
.cc-next-media{grid-column:1;grid-row:1/3;position:relative;display:grid;place-items:center;aspect-ratio:16/9;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.cc-next-media>.cc-next-cover{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;opacity:0}
.cc-next-media>.cc-next-cover.is-ready{opacity:1}
.cc-next-media.is-unavailable{display:none}
.cc-next-title{grid-column:2;grid-row:2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:16px;font-weight:550;line-height:1.5}
.cc-next-button:not(:has(.cc-next-media)){grid-template-columns:minmax(0,1fr)}
.cc-next-button:not(:has(.cc-next-media))>.cc-next-label,.cc-next-button:not(:has(.cc-next-media))>.cc-next-title{grid-column:1}
.cc-next-button:hover .cc-next-title{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.cc-next-button:focus-visible{outline:2px solid var(--brand);outline-offset:5px}
.cc-next-unavailable{padding:12px;font-size:12px;color:var(--muted)}
.cc-feature-carousel>.cc-feature-footer{grid-row:3;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 24px;min-width:0;padding-top:16px;border-top:1px solid var(--line)}
.cc-feature-carousel .cc-feature-note{grid-column:1;grid-row:2;min-width:0;max-width:30ch;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.cc-feature-carousel .cc-feature-controls{display:inline-flex;align-items:center;gap:1px;max-width:100%;padding:0;border:0;border-radius:7px;background:transparent}
.cc-feature-carousel .cc-feature-controls>button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;margin:0;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--brand);font-size:16px;line-height:1.5;box-shadow:none}
.cc-feature-carousel .cc-feature-controls>[data-carousel-pause]{min-width:58px;padding-inline:10px}
.cc-feature-carousel .cc-feature-controls>button:hover{background:var(--soft)}
.cc-feature-carousel .cc-feature-controls>button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.cc-feature-carousel .cc-feature-position{min-width:44px;color:var(--muted);font-size:16px;line-height:44px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.cc-feature-carousel .cc-feature-media>.cc-cover-unavailable{padding:24px;text-align:center;font-size:14px;line-height:1.6;color:var(--muted)}
.cc-discovery-hero+.cc-filter-panel{scroll-margin-top:100px}

@media(max-width:1100px){
 .cc-discovery-hero{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:32px}
 .cc-hero-title{font-size:48px}
 :lang(en) .cc-hero-title{font-size:40px}
 .cc-hero-description{font-size:18px}
 .cc-feature-carousel>.cc-feature-single{grid-template-columns:minmax(0,1fr)}
 .cc-feature-carousel .cc-carousel-title{font-size:28px}
}
@media(max-width:900px){
 .cc-discovery-hero{grid-template-columns:minmax(0,1fr);gap:30px;margin-bottom:30px;padding:8px 0 30px}
 .cc-hero-intro{padding:0}
 .cc-hero-title{font-size:48px;line-height:1.3}
 :lang(en) .cc-hero-title{font-size:46px}
 .cc-hero-description{max-width:48ch;margin:18px 0 20px}
 :lang(en) .cc-hero-description{max-width:56ch}
 .cc-feature-carousel>.cc-feature-single{grid-template-columns:minmax(0,1fr)}
 .cc-feature-carousel .cc-carousel-title{font-size:32px}
 .cc-hero-state{min-height:150px;padding:18px 0 18px 22px}
}
@media(max-width:480px){
 .cc-discovery-hero{gap:28px;margin-top:0;margin-bottom:26px;padding-bottom:26px}
 .cc-hero-title{font-size:42px;line-height:1.33}
 :lang(en) .cc-hero-title{font-size:clamp(34px,11.4vw,41px)}
 .cc-hero-description{font-size:16px;line-height:1.75;margin:16px 0 20px}
 .cc-discovery-hero .cc-hero-browse{min-height:48px;font-size:16px;padding:12px 16px}
 .cc-feature-carousel{gap:14px}
 .cc-feature-carousel .cc-slide>.cc-feature-link{gap:14px}
 .cc-feature-carousel .cc-carousel-title{font-size:26px;line-height:1.35}
 .cc-feature-carousel .cc-project-purpose{font-size:16px;line-height:1.65}
 .cc-feature-carousel .cc-carousel-copy>.cc-carousel-title{grid-column:1/-1}
 .cc-feature-carousel .cc-slide .guide-text-link{grid-column:1/-1;grid-row:3;font-size:16px}
 .cc-feature-carousel .cc-slide>.cc-feature-link>.cc-carousel-copy{gap:8px}
 .cc-feature-peeks{grid-column:1;grid-row:2}
 .cc-feature-carousel .cc-next-button{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;row-gap:4px;padding-top:12px;border-top:1px solid var(--line);border-radius:0}
 .cc-next-button>.cc-next-label{grid-column:2;grid-row:1;justify-content:start;gap:9px;font-size:14px;min-height:0}
 .cc-next-button>.cc-next-media{grid-column:1;grid-row:1/3;align-self:center}
 .cc-next-button>.cc-next-title{grid-column:2;grid-row:2;-webkit-line-clamp:2;font-size:16px}
 .cc-feature-carousel>.cc-feature-footer{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:12px}
 .cc-feature-carousel .cc-feature-note{grid-row:3;max-width:none}
 .cc-hero-state h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
 .cc-discovery-hero,.cc-discovery-hero *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* E05: independent one-line category strips; existing multiselect semantics. */
.cc-discovery-filters{min-width:0;scroll-margin-top:calc(var(--site-header-height,80px) + 16px);margin:24px 0}
.cc-category-group{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;padding:0;margin:0 0 10px;min-width:0}
.cc-category-label{display:flex;flex-direction:column;gap:1px;font-size:14px;line-height:1.4;font-weight:600}
.cc-category-label small{color:var(--muted);font-size:11px;font-weight:400;white-space:nowrap}
.cc-filter-track{display:flex;align-items:center;gap:6px;min-width:0}
.cc-filter-window{position:relative;flex:1;min-width:0}
.cc-filter-window::before,.cc-filter-window::after{content:"";position:absolute;inset-block:5px;width:5px;z-index:1;pointer-events:none;opacity:0}
.cc-filter-window::before{left:0;background:linear-gradient(to right,var(--paper),transparent)}
.cc-filter-window::after{right:0;background:linear-gradient(to left,var(--paper),transparent)}
.cc-filter-window[data-before=true]::before,.cc-filter-window[data-after=true]::after{opacity:1}
.cc-filter-chips{display:flex;flex-wrap:nowrap;gap:7px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:5px;scroll-padding-inline:5px;scrollbar-width:none;overscroll-behavior-x:contain}
.cc-filter-chips::-webkit-scrollbar{display:none}
.cc-filter-chip{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;min-height:34px;min-width:44px;max-width:none;padding:5px 11px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--text);font-size:14px;font-weight:400;line-height:1.5;white-space:nowrap;text-align:left;overflow-wrap:normal;box-shadow:none}
.cc-filter-chip:hover{border-color:var(--line);background:var(--soft)}
.cc-filter-chip[aria-pressed=true]{border-color:var(--line);background:var(--soft);color:var(--brand);font-weight:400}
.cc-filter-check{width:1em;flex:none;visibility:hidden}
.cc-filter-chip[aria-pressed=true] .cc-filter-check{visibility:visible}
.cc-filter-scroll-controls{display:flex;gap:2px;flex:none}
.cc-filter-scroll-controls[hidden]{display:none}
.cc-filter-scroll{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;min-width:28px;min-height:34px;padding:0;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font-size:22px;font-weight:400;line-height:1;box-shadow:none}
.cc-filter-scroll:disabled{opacity:.35;cursor:default}
.cc-discovery-filters :focus-visible,.cc-results-toolbar :focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media(max-width:600px){
 .cc-category-group{grid-template-columns:44px minmax(0,1fr);gap:4px}
 .cc-category-label{font-size:12px}.cc-category-label small{font-size:10px;white-space:normal}
 .cc-filter-track{position:relative;display:block;padding-bottom:0}
 .cc-filter-track:has(.cc-filter-scroll-controls:not([hidden])){padding-bottom:36px}
 .cc-filter-scroll-controls{position:absolute;right:0;bottom:0;gap:2px}
 .cc-filter-scroll{width:32px;min-width:32px;min-height:32px}
 .cc-filter-chip{min-height:44px}
}
@media(max-width:360px){.cc-filter-chip{padding-inline:5px}}

@media(pointer:coarse){.cc-filter-chip,.cc-filter-scroll{min-height:44px;min-width:44px}}
@media(max-width:600px) and (pointer:coarse){.cc-filter-track:has(.cc-filter-scroll-controls:not([hidden])){padding-bottom:48px}}
.cc-search-row,.cc-discovery-search{display:flex;align-items:end;gap:12px;min-width:0}
.cc-discovery-search{flex:1}
.cc-discovery-search .field{flex:1;margin:0;min-width:0}
.cc-discovery-search input{width:100%;min-width:0;min-height:44px}
.cc-search-row button{flex:none;min-height:44px}
.cc-search-status{color:var(--muted);font-size:.8125rem;line-height:1.6;overflow-wrap:anywhere;margin:10px 0}
.cc-secondary-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px;border-top:1px solid var(--line)}
.cc-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}
.cc-results-toolbar .result-line{margin:0;min-width:0}
.cc-results-toolbar .field{display:flex;align-items:center;gap:10px;margin:0;min-width:0}
.cc-results-toolbar select{min-width:0;max-width:100%;min-height:44px}
@media(max-width:600px){.cc-search-row{flex-wrap:wrap}.cc-discovery-search{flex-basis:100%;gap:8px}.cc-secondary-controls{grid-template-columns:1fr}.cc-results-toolbar{flex-wrap:wrap}.cc-results-toolbar .field{max-width:100%}}
.cc-results-toolbar .field>span{flex:none;white-space:nowrap}
/* E04: the existing detail interaction area, with private text kept compact. */
.cc-my-thanks{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:12px;min-width:0}
.cc-my-thanks h3{margin:0 0 .4rem}
.cc-thanks-body{overflow-wrap:anywhere;line-height:1.65}
.cc-thanks-body[data-collapsed=true]{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.cc-my-thanks .cc-actions{margin-top:.6rem}
.cc-thanks-status p{margin:.35rem 0}

/* E06: two local detail surfaces; no global section/form/button overrides. */
.cc-project{display:grid;gap:20px;margin-block:28px;scroll-margin-top:96px}
.cc-project .cc-feedback-card,.cc-project .cc-comments{min-width:0;max-width:none;margin:0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:none;scroll-margin-top:96px}
.cc-project .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.cc-project .section-title h2,.cc-project .section-title h3{font-size:20px;line-height:1.4;font-weight:600;margin:0}
.cc-project .section-title button{font-size:13px;padding:6px 12px;font-weight:400}
.cc-project .cc-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}
.cc-project .cc-stats>div{min-width:0;gap:7px;justify-content:end}
.cc-project .cc-stats dd{font-size:30px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.cc-project .cc-stats dt{font-size:13px;line-height:1.45;min-height:2.9em}
.cc-project .library-note{margin:8px 0;font-size:13px;line-height:1.65}
.cc-project .cc-stat-explanation{color:var(--muted);font-size:13px;line-height:1.65;margin:8px 0}
.cc-project .cc-stat-explanation summary{cursor:pointer;width:fit-content;color:var(--brand);padding:3px 0}
.cc-project .cc-stat-explanation p{max-width:90ch;margin:8px 0 0}
.cc-project .cc-reactions{gap:8px;margin:18px 0 0}
.cc-project .cc-reactions button{font-size:14px;font-weight:400;padding:7px 13px}
.cc-project .cc-my-thanks{margin:18px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0 0}
.cc-project .cc-my-thanks h3{font-size:16px;font-weight:600;margin:0 0 8px}
.cc-project .cc-my-thanks .cc-thanks-body{margin:10px 0}
.cc-project .cc-my-thanks .cc-actions{margin-top:10px}
.cc-project .cc-my-thanks .cc-actions button{font-size:13px;font-weight:400;padding:6px 10px}
.cc-project .cc-comment-form,.cc-project .cc-thanks-form{margin:16px 0;padding:0;border:0;border-radius:0;background:transparent}
.cc-project .cc-comment-form .field>span{font-size:14px;font-weight:500}
.cc-project .cc-comment-form textarea{min-height:100px;line-height:1.6;resize:vertical;padding:10px 12px}
.cc-project .cc-comment-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cc-project .cc-comment-context{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cc-project .cc-comment-form small{margin:0;font-size:13px}
.cc-project .cc-comment-footer button{font-size:14px;padding:8px 14px}
.cc-project .cc-empty{padding:14px 0;margin:0;font-size:14px}
.cc-project .cc-comment{padding:16px 0;border-bottom:1px solid var(--line)}
.cc-project .cc-comment>p{margin:8px 0;line-height:1.7}
.cc-project .cc-comment>header strong{font-size:14px;font-weight:600}
.cc-project .cc-reply{margin-left:18px;padding-left:14px;border-left:1px solid var(--line)}
.cc-project :focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:720px){.cc-project .cc-feedback-card,.cc-project .cc-comments{padding:16px}.cc-project .cc-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cc-project .cc-stats dt{min-height:0}.cc-project .cc-stats dd{font-size:26px}}
@media(max-width:420px){.cc-project .cc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-project .cc-comment-context{gap:8px}.cc-project .section-title h2,.cc-project .section-title h3{font-size:18px}}

/* E07: only the three auxiliary workspace modules share these surfaces. */
.cc-desk-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;margin:28px 0;min-width:0}
.cc-desk-support>.cc-workspace{display:contents}
.cc-desk-support .cc-workspace-section{min-width:0;margin:0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:none}
.cc-desk-support .cc-feedback-section{grid-column:1/-1}
.cc-desk-support .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.cc-desk-support .section-title h2{margin:0;font-size:20px;font-weight:600;line-height:1.4}
.cc-desk-support .section-title button{font-size:13px;font-weight:400;padding:6px 10px}
.cc-desk-support .section-title .cc-actions{justify-content:flex-end;gap:6px}
.cc-desk-support .library-note,.cc-desk-support .cc-grant-help{font-size:13px;line-height:1.65;margin:8px 0;color:var(--muted)}
.cc-desk-support .cc-grant-help summary{cursor:pointer;color:var(--brand);width:fit-content;padding:3px 0}
.cc-desk-support .cc-grant-help p{margin:8px 0}
.cc-desk-support .course-grant{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;min-width:0}
.cc-desk-support .course-grant:last-child{border-bottom:0;padding-bottom:0}
.cc-desk-support .course-grant h3{font-size:15px;line-height:1.55;font-weight:600;margin:0 0 6px}
.cc-desk-support .course-grant p{font-size:13px;line-height:1.6}
.cc-desk-support .course-grant button{font-size:13px;font-weight:400;padding:7px 10px;max-width:190px}
.cc-desk-support .cc-grant-state{white-space:normal;color:var(--text)}
.cc-desk-support .cc-grant-state[data-status=approved]{color:var(--brand)}
.cc-desk-support .cc-empty{margin:0;padding:16px 0 0;font-size:14px;line-height:1.65}
.cc-desk-support .cc-empty p{margin:0 0 8px}
.cc-desk-support .cc-bookmark{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;min-width:0}
.cc-desk-support .cc-bookmark:last-child{border-bottom:0}
.cc-desk-support .cc-bookmark-preview{width:64px;min-height:48px;display:grid;place-items:center;border-radius:7px;overflow:hidden;background:var(--soft);color:var(--muted);font-size:11px;line-height:1.3;text-align:center}
.cc-desk-support .cc-bookmark-preview img{width:64px;height:48px;object-fit:cover}
.cc-desk-support .cc-bookmark-copy{min-width:0;overflow-wrap:anywhere}
.cc-desk-support .cc-bookmark-copy strong{font-size:14px;font-weight:600;line-height:1.6}
.cc-desk-support .cc-bookmark-copy a strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cc-desk-support .cc-bookmark small{margin-top:4px;font-size:12px;line-height:1.5}
.cc-desk-support .cc-bookmark>button{font-size:12px;font-weight:400;padding:6px 9px;max-width:112px}
.cc-desk-support .cc-feedback{margin:0;padding:0}
.cc-desk-support .cc-feedback li{display:flex;align-items:flex-start;gap:12px;padding:14px 10px;border-bottom:1px solid var(--line);min-width:0}
.cc-desk-support .cc-feedback li:last-child{border-bottom:0}
.cc-desk-support .cc-feedback li.is-unread{background:color-mix(in srgb,var(--soft) 50%,var(--paper))}
.cc-desk-support .cc-feedback-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--brand);font-size:14px;font-weight:600}
.cc-desk-support .cc-feedback-copy{min-width:0;flex:1;overflow-wrap:anywhere}
.cc-desk-support .cc-feedback-heading{margin:0;line-height:1.65;font-size:14px}
.cc-desk-support .cc-feedback-heading strong{font-weight:600}
.cc-desk-support .cc-feedback li a{font-weight:400}
.cc-desk-support .cc-feedback-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.65;margin-top:5px}
.cc-desk-support .cc-feedback li.is-unread .cc-feedback-state{color:var(--brand);font-weight:600}
.cc-desk-support .cc-feedback li.is-unread .cc-feedback-state::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin:0 5px 2px 0}
.cc-desk-support .cc-feedback-body{font-size:14px;line-height:1.7;margin:8px 0}
.cc-desk-support .account-pagination{margin-top:14px;font-size:13px;gap:8px}
.cc-desk-support :focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:1000px){.cc-desk-support{grid-template-columns:1fr}.cc-desk-support .cc-feedback-section{grid-column:auto}}
@media(max-width:600px){.cc-desk-support .cc-workspace-section{padding:16px}.cc-desk-support .section-title{align-items:flex-start;flex-wrap:wrap}.cc-desk-support .section-title h2{font-size:18px}.cc-desk-support .course-grant{grid-template-columns:1fr}.cc-desk-support .course-grant button{justify-self:start}.cc-desk-support .cc-bookmark{grid-template-columns:48px minmax(0,1fr);gap:10px}.cc-desk-support .cc-bookmark-preview,.cc-desk-support .cc-bookmark-preview img{width:48px;height:40px;min-height:40px}.cc-desk-support .cc-bookmark>button{grid-column:2;justify-self:start}.cc-desk-support .cc-feedback li{padding-inline:0}}

/* Dedicated account bookmark view reuses the existing private list. */
.workspace-bookmarks-view{max-width:1000px;margin-top:24px}.workspace-bookmarks-view .cc-workspace{display:block}.workspace-bookmarks-view .cc-bookmark{padding-block:18px}.workspace-bookmarks-view .cc-bookmark-copy strong{font-size:16px;line-height:1.5}

.workspace-bookmarks-view .cc-bookmark{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center}
.workspace-bookmarks-view .cc-bookmark-preview{width:64px;height:48px;display:grid;place-items:center;border-radius:7px;background:var(--soft);color:var(--muted);font-size:11px;text-align:center}
.workspace-bookmarks-view .cc-bookmark-preview img{width:64px;height:48px;object-fit:cover;border-radius:7px}
.workspace-bookmarks-view .cc-bookmark-copy{min-width:0}
.workspace-bookmarks-view .cc-bookmark>button{white-space:nowrap}
.workspace-bookmarks-nav .classroom-nav{margin-top:24px}

/* D16 desktop: connect the page heading, navigation and account-bound list. */
@media(min-width:901px){
 .main-content .workspace-head.page-head{padding-bottom:16px;margin-bottom:8px}
 .main-content .workspace-head.workspace-bookmarks-head{align-items:center;padding-bottom:12px;margin-bottom:0}
 .main-content .workspace-bookmarks-head h1{margin:0 0 8px}
 .main-content .workspace-bookmarks-head p{margin:0}
 .workspace-bookmarks-head>.btn{border:1px solid var(--line);min-height:40px;padding:8px 14px;white-space:nowrap}
 .workspace-bookmarks-nav .classroom-nav{margin:0;padding:16px 0 12px;gap:8px 24px}
 .workspace-bookmarks-view{max-width:none;margin-top:0}
 .workspace-bookmarks-view .cc-workspace-section{margin-top:0;padding:24px 0;border-top:0}
 .workspace-bookmarks-view .section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}
 .workspace-bookmarks-view .section-title h2{font-size:20px;line-height:1.4;margin:0}
 .workspace-bookmarks-view .section-title button{min-height:36px;padding:6px 12px;font-size:13px}
 .workspace-bookmarks-view .library-note{margin:0 0 16px;font-size:13px;line-height:1.65}
 .workspace-bookmarks-view .cc-empty{padding:12px 0}
 .workspace-bookmarks-view .cc-empty p{margin:0 0 12px}
 .workspace-bookmarks-view .cc-bookmark-copy a strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
 .workspace-bookmarks-view .cc-bookmark>button{min-height:36px;padding:6px 12px;font-size:13px}
}

/* Both course models share a compact, accessible directory on small screens. */
.course-directory-wrap{position:sticky;top:92px;min-width:0}
.course-directory-wrap .course-directory{position:static}
.course-directory-toggle{display:none}
@media(max-width:720px){
 .course-layout{gap:20px;margin-block:20px}
 .course-directory-wrap{position:static;border-block:1px solid var(--line)}
 .course-directory-toggle{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;border:0;border-radius:0;background:transparent;text-align:start}
 .course-directory-toggle>span:first-child{flex:none;color:var(--muted);font-size:13px}
 .course-directory-toggle>strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:600}
 .course-directory-toggle>span:last-child{flex:none}
 .course-directory-wrap[data-directory-open=false] .course-directory{display:none}
 .course-directory-wrap .course-directory{padding:0 0 12px;border:0;max-height:50dvh;overflow:auto}
 .course-directory-wrap .course-directory a{min-height:44px}
}
