/* Spaces build 3, courses lane A (24 Oct 2026): a running space's Content tab (js/spaces/content-tab.js, sct-), the
   remove sheet's body (inside CBSheet.panel) and a course's Manage card (js/spaces/course-copies.js, scc-). Its own
   file so the content area's spt- stylesheet keeps one namespace. Tokens are the app's (design-tokens.css). */
/* P12 (28 Oct 2026): the course cards, the lesson ladder, the chips, the undo line and the buttons are the course
   home's kit (css/funnel-home.css, css/course-home.css: fh-card, ch-ladder, ch-st, ch-row, fh-btn). What stays is
   the column, the cover picture, the ladder's first column and the highlight a new course gets, on the kit's tokens. */
.sct{display:grid;gap:18px;width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
.sct *,.sct *::before,.sct *::after{box-sizing:border-box}
.sct-i{width:16px;height:16px;flex:none}
.sct .sct-ccb{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.sct-ccimg{width:100%;aspect-ratio:16/5;object-fit:cover;border-radius:10px;display:block}
.sct-cc2 .sct-ccimg{aspect-ratio:16/4}
.sct .sct-mlt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sct .sct-lopen{grid-column:2 / 5}
.sct .sct-none,.sct .sct-sm{margin:0}
.sct .sct-undo .ch-row{border-top:0}
.sct-lit{outline:3px solid var(--fh-accent, var(--accent));outline-offset:4px;border-radius:12px;transition:outline-color .6s}
@media (max-width:560px){.sct-ccimg{aspect-ratio:16/7}}
/* the remove sheet's body (CBSheet.panel) */
.sct-sh{display:grid;gap:14px;font-size:14px;color:var(--text-2)}
.sct-shs{display:grid;gap:8px}
.sct-shp{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}
.sct-shp > span{display:grid;justify-items:center;gap:2px;background:var(--surface-2, #faf8f4);border:1px solid var(--border-soft, #ece7dd);border-radius:12px;padding:8px 4px;font-size:13px;text-align:center}
.sct-shp img,.sct-shp em{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-style:normal}
.sct-shp b{font-size:13px;color:var(--text);overflow-wrap:anywhere}
.sct-rr{display:grid;grid-template-columns:28px minmax(0,1fr) 40px;gap:10px;align-items:center;text-align:left;width:100%;background:var(--surface, #fff);border:1.5px solid var(--border);border-radius:14px;padding:10px 12px;font:inherit;color:var(--text);cursor:pointer}
.sct-rr .ic{display:grid;place-items:center;color:var(--accent)}
.sct-rr b{display:block;font-size:14px}
.sct-rr .s{display:block;font-size:12.5px;color:var(--text-3)}
.sct-rr .sw{width:40px;height:24px;border-radius:999px;background:var(--border);position:relative}
.sct-rr .sw::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.sct-rr.on .sw{background:var(--accent)}
.sct-rr.on .sw::after{left:19px}
.sct-shfoot{display:inline-flex;align-items:center;gap:6px}
/* a course's Manage card */
.scc-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:16px;background:var(--surface, #fff);border:1.5px solid var(--border);border-radius:var(--radius-lg, 18px);padding:12px}
.scc-i{width:16px;height:16px;flex:none}
.scc-img{width:100%;aspect-ratio:16/5;object-fit:cover;border-radius:12px;display:block}
.scc-b{display:grid;gap:8px;min-width:0}
.scc-crumb{font-family:'JetBrains Mono', ui-monospace, monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.scc-name{font-family:Fraunces, Georgia, serif;font-size:21px;font-weight:600;line-height:1.15}
.scc-pills{display:flex;flex-wrap:wrap;gap:6px}
.scc-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--text-2);background:var(--surface-3, #f1eee8);border-radius:999px;padding:4px 10px}
.scc-pill.g{color:var(--good, #15803d);background:var(--good-soft, #e7f6ec)}
.scc-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.scc-lab{font-size:13px;font-weight:600;color:var(--text-3);margin-top:4px}
.scc-row{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;padding:8px 10px;background:var(--surface-2, #faf8f4);border-radius:12px}
.scc-row .scc-i{color:var(--accent);margin-top:2px}
.scc-row b{display:block;font-size:14px}
.scc-row span span{display:block;font-size:12.5px;color:var(--text-3)}
.scc-none{font-size:13.5px;color:var(--text-3)}
.scc-btns{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.scc-btn{display:inline-flex;align-items:center;gap:6px;border-radius:999px;font-size:14px;font-weight:600;padding:7px 14px}
.scc-next{display:block;margin-top:6px;font-size:13px;color:var(--text-3)}
