.curriculum-trigger {
    color: #cbd5e1;
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
}
.curriculum-trigger:hover { color: #f9a8d4; }
.curriculum-cta {
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #db2777, #7c3aed);
    color: white;
    font-weight: bold;
    pointer-events: auto;
    border: 1px solid #f9a8d4;
}
.curriculum-dialog {
    color: #f0f6fc;
    background: #0d1528;
    border: 1px solid #475569;
    border-radius: 24px;
    padding: 0;
    width: min(1280px, 95vw);
    max-width: 95vw;
    max-height: 92vh;
    box-shadow: 0 30px 120px #0009;
}
.curriculum-dialog::backdrop { background: #030712c9; backdrop-filter: blur(8px); }
.curriculum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #334155;
}
.curriculum-header h2 { font-size: 24px; margin: 0; color: #f9a8d4; }
.curriculum-header p { margin: 4px 0 0; font-size: 13px; color: #94a3b8; }
.curriculum-close, .curriculum-retry {
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 10px;
    padding: 8px 14px;
    color: white;
    cursor: pointer;
}
.curriculum-layout { display: grid; grid-template-columns: minmax(260px, 35%) minmax(0, 1fr); }
.curriculum-sidebar {
    padding: 18px;
    border-right: 1px solid #334155;
    overflow: auto;
    max-height: 72vh;
}
.curriculum-tree details { margin: 5px 0; }
.curriculum-tree summary { cursor: pointer; padding: 10px 8px; border-radius: 8px; overflow-wrap: anywhere; }
.curriculum-tree summary:hover { background: #24304a; }
.curriculum-children { margin-left: 13px; padding-left: 9px; border-left: 1px solid #334155; }
.curriculum-count { font-size: 11px; color: #94a3b8; margin-left: 8px; white-space: nowrap; }
.curriculum-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    color: #cbd5e1;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 10px;
    margin: 4px 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.curriculum-item:hover { background: #1e293b; color: white; }
.curriculum-item[aria-current="true"] { background: #54265e; color: white; border-color: #ec4899; }
.curriculum-empty { color: #94a3b8; font-size: 12px; padding: 10px; }
.curriculum-viewer { padding: 24px; min-width: 0; }
.curriculum-breadcrumb { color: #a5b4fc; font-size: 12px; overflow-wrap: anywhere; margin-bottom: 12px; }
.curriculum-viewer h3 { font-size: 22px; margin: 0 0 18px; overflow-wrap: anywhere; }
.curriculum-placeholder {
    display: grid;
    place-content: center;
    text-align: center;
    min-height: 300px;
    padding: 30px;
    border: 1px dashed #475569;
    border-radius: 16px;
    background: radial-gradient(ellipse at top, #31204b, #101827);
}
.curriculum-placeholder strong { font-size: 25px; color: #f9a8d4; margin-bottom: 12px; }
.curriculum-placeholder p { color: #94a3b8; max-width: 360px; }
#lesson-youtube { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: black; }
.curriculum-message { color: #fcd34d; font-size: 13px; margin-top: 14px; }
.curriculum-file-link { display: inline-block; margin-top: 16px; color: #67e8f9; text-decoration: underline; font-size: 13px; }
.curriculum-dialog [hidden] { display: none !important; }
.curriculum-dialog :focus-visible, .curriculum-trigger:focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; }
@media (max-width: 767px) {
    .curriculum-layout { display: flex; flex-direction: column; }
    .curriculum-sidebar { max-height: 32vh; border-right: 0; border-bottom: 1px solid #334155; }
    .curriculum-viewer { padding: 18px; }
    .curriculum-header { padding: 16px; }
    .curriculum-header h2 { font-size: 20px; }
    .curriculum-placeholder { min-height: 180px; }
}
.studio-logo {
    width: 64px;
    height: 64px;
    overflow: hidden;
    flex-shrink: 0;
}
.studio-logo img {
    width: 273px;
    max-width: none;
    height: 273px;
}
