/* Level taxonomy and scalable N2 course catalog, built on the cinematic motion system. */
.category-overview { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr); gap:18px; align-items:stretch; }
.level-feature { display:flex; align-items:center; gap:23px; padding:28px; color:white; background:linear-gradient(130deg,#142b4b,#225d77); border:1px solid #315b7c; border-radius:23px; box-shadow:0 13px 38px #203e5f21; transition:transform .3s var(--ease-cinema),box-shadow .3s var(--ease-cinema); position:relative; overflow:hidden; isolation:isolate; }
.level-feature::before { content:''; position:absolute; z-index:-1; inset:-70% -30% -50% 0; background:radial-gradient(ellipse at 80% 45%,#4cb3c74b,transparent 60%); }
.level-feature .level-symbol { display:grid; place-items:center; width:92px;height:92px; flex:none; border:1px solid #b7d9f65b; background:#cbe7ff12; border-radius:24px; font-weight:750; font-size:46px; letter-spacing:-.1em; padding-right:4px; color:#d0edff; box-shadow:inset 0 0 30px #7dc9e417; }
.level-feature .eyebrow { color:#b2d3f5; font-size:11px; margin-bottom:5px; }.level-feature h3 { margin:0 0 6px;font-size:23px;line-height:1.4;letter-spacing:-.02em; }.level-feature p:not(.eyebrow){color:#c3dfef;font-size:14px;margin:0 0 9px;}.category-open{color:#bdeadd;font-size:14px;font-weight:650;}
.level-future { background:#fff;border:1px solid #e1e8f0;border-radius:23px;padding:24px;display:flex;flex-direction:column;justify-content:center; }.level-future>p{margin:0 0 12px;font-size:15px;font-weight:650;color:#405d7d;}.level-future>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}.level-future-link{min-width:0;display:flex;flex-direction:column;align-items:center;padding:9px 5px;border:1px solid #e5ebf2;background:#f8faff;border-radius:11px;color:#617b99;transition:transform .24s var(--ease-cinema),background .24s;}.level-future-link b{font-size:21px;line-height:1.2;letter-spacing:-.06em;}.level-future-link small{font-size:11px;white-space:nowrap;}
@media(hover:hover) and (pointer:fine){.level-feature:hover{transform:translateY(-4px);box-shadow:0 20px 46px #1b3a6532}.level-future-link:hover{background:#eef4ff;transform:translateY(-2px)}}
.level-feature:active,.level-future-link:active{transform:scale(.985);}
.catalog-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 23px;}
.catalog-level{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:15px 9px;background:white;border:1px solid #e1e8f1;border-radius:16px;min-width:0;transition:transform .24s var(--ease-cinema),border-color .24s,background .24s;}
.catalog-level b{font-size:25px;line-height:1.1;letter-spacing:-.07em;}.catalog-level small{color:#73869c;font-size:12px;white-space:nowrap;}.catalog-level.active{color:#1e5c9a;background:#e9f3ff;border-color:#adcce8;box-shadow:0 5px 18px #2766a50c;}.catalog-level.active small{color:#2e689f;}
@media(hover:hover) and (pointer:fine){.catalog-level:hover{transform:translateY(-3px);border-color:#a9c9e7}.catalog-types a:hover{background:#edf4ff}}
.catalog-level:active{transform:scale(.97);}
.catalog-summary{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:30px 32px;border-radius:24px;background:linear-gradient(120deg,#edf4ff,#f2fbf9 95%);border:1px solid #d6e5f0;margin-bottom:22px;box-shadow:0 9px 35px #1e4c7208;}.catalog-summary>div:first-child{flex:1;min-width:0;}.catalog-summary .eyebrow{font-size:12px;margin-bottom:5px;}.catalog-summary h2{margin:0 0 5px;font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;line-height:1.4;}.catalog-summary p:not(.eyebrow){margin:0 0 12px;color:#4e677e;font-size:15px;}
.catalog-metrics{display:flex;flex-wrap:wrap;gap:10px 23px;margin-top:15px;align-items:baseline;}.catalog-metrics span{font-size:13px;color:#4f6c87;white-space:nowrap;}.catalog-metrics b{font-size:24px;font-weight:750;color:#245f98;letter-spacing:-.045em;line-height:1.3;font-variant-numeric:tabular-nums;}
.catalog-unlock{flex:none;display:flex;align-items:flex-start;flex-direction:column;gap:9px;max-width:260px;}.catalog-unlock p{margin:0!important;}.catalog-unlock .primary{white-space:normal;}
.catalog-types{display:flex;flex-wrap:wrap;gap:8px;padding:6px;background:#eaf0f7;border:1px solid #e0e7f0;border-radius:14px;margin:0 0 23px;width:fit-content;}.catalog-types a{display:flex;align-items:center;justify-content:center;padding:9px 16px;min-height:40px;border-radius:10px;color:#506780;font-size:14px;font-weight:650;transition:background .25s,color .25s;}.catalog-types a.active{background:#fff;color:#225c98;box-shadow:0 3px 9px #15385b0d;}
.catalog-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:15px;padding:18px;background:#fff;border:1px solid #e1e8f0;border-radius:18px;margin-bottom:13px;}.catalog-filter label{display:flex;flex-direction:column;gap:5px;min-width:0;}.catalog-filter label span{font-size:13px;font-weight:650;color:#3d5a75;}.catalog-filter .search{width:100%;min-width:0;font-size:16px;}.catalog-count{font-size:14px;color:#5b7187;margin:0 0 15px;}
.catalog-empty{display:grid;justify-items:center;text-align:center;padding:48px 25px;background:#fff;border:1px solid #e1e8f0;border-radius:23px;gap:13px;}.catalog-empty-symbol{display:grid;place-items:center;width:80px;height:80px;border-radius:20px;background:#e8f1fd;color:#4476af;font-weight:750;font-size:39px;letter-spacing:-.1em;}.catalog-empty h2{font-size:25px;margin:0;}.catalog-empty p{color:var(--muted);margin:0 0 6px;}
.catalog-note{margin-top:18px;}.catalog-directory-toggle{display:flex;justify-content:center;margin-top:24px;}#directory-results{scroll-margin-top:105px;}[hidden]{display:none!important;}
.course-card:nth-child(2n) .course-visual{background:linear-gradient(145deg,#e4f0f1,#cfe9e8);}.course-card:nth-child(2n)::before{background:linear-gradient(180deg,#74c1c6,#b5d9eb);}.course-mini-progress{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:12px;color:#557491;}.course-mini-progress .bar{height:5px;margin:0;flex:1;}.practice-callout>.actions{justify-content:flex-end;}.practice-callout>.actions .primary,.practice-callout>.actions .secondary{white-space:nowrap;}
.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;}.record-unit{min-width:0;padding:22px;border-radius:22px;}.record-title{display:flex;align-items:center;justify-content:space-between;gap:12px;}.record-title h2{margin:6px 0 0;font-size:21px;}.record-title>strong{font-size:27px;letter-spacing:-.05em;color:#2669a6;}.record-unit>p{font-size:14px;color:#5b6e83;margin:10px 0;min-height:42px;}.record-unit .actions{margin-top:14px;}.record-details{border-top:1px solid #edf0f5;margin-top:15px;padding-top:10px;}.record-details summary{color:#2b68a3;font-size:14px;font-weight:650;cursor:pointer;}.record-details .record-list{margin:6px 0;}.record-details .record-item{gap:10px;font-size:13px;}.record-details .record-item span{font-size:12px;white-space:nowrap;}.record-details .record-item strong{min-width:0;overflow-wrap:anywhere;}.record-grid .record-unit summary{min-height:28px;}
.reader-unit-label{display:block;font-size:13px;font-weight:650;color:#405b74;margin:0 0 6px;}.reader-unit-select{width:100%;font-size:14px;padding:8px 9px;margin-bottom:10px;}.reader-aside .toc button>span:nth-child(2){min-width:0;overflow-wrap:anywhere;}.reader-next{margin-top:20px;}
@media(max-width:1000px){.level-feature{padding:22px;gap:15px;}.level-feature .level-symbol{width:72px;height:72px;font-size:38px;}.level-future{padding:20px;}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.category-overview{grid-template-columns:1fr;gap:13px;}.catalog-summary{padding:25px;}.catalog-unlock{max-width:190px;}.catalog-levles{gap:9px;}}
@media(max-width:620px){.level-feature{gap:15px;padding:20px;border-radius:19px;}.level-feature h3{font-size:20px;}.level-feature .level-symbol{width:65px;height:65px;border-radius:17px;font-size:35px;}.level-feature p:not(.eyebrow){font-size:13px;}.level-future{border-radius:19px;padding:16px;}.level-future-link b{font-size:20px;}.catalog-levels{gap:5px;margin-bottom:15px;}.catalog-level{padding:12px 4px;border-radius:12px;}.catalog-level b{font-size:21px;}.catalog-level small{font-size:10px;}.catalog-summary{align-items:flex-start;flex-direction:column;padding:21px 19px;gap:16px;border-radius:19px;margin-bottom:17px;}.catalog-summary>div:first-child{width:100%;}.catalog-summary h2{font-size:27px;}.catalog-metrics{gap:9px 14px;}.catalog-metrics b{font-size:23px;}.catalog-metrics span{font-size:12px;}.catalog-unlock{max-width:none;width:100%;}.catalog-unlock .primary{width:100%;}.catalog-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px;padding:4px;margin-bottom:17px;}.catalog-types a{font-size:12px;padding:8px 5px;white-space:nowrap;}.catalog-filter{grid-template-columns:1fr;padding:14px;gap:12px;border-radius:15px;}.catalog-empty{padding:32px 20px;}.record-grid{grid-template-columns:1fr;}.record-unit{padding:20px;border-radius:19px;}.record-unit>p{min-height:0;}.practice-callout>.actions{width:100%;justify-content:stretch;}.practice-callout>.actions a{flex:1;min-width:0;white-space:normal;}.reader-aside .reader-unit-select{font-size:16px;}.reader-aside .toc button{align-items:center;}}
@media(prefers-reduced-motion:reduce){.level-feature,.level-future-link,.catalog-level,.catalog-types a{transition:none!important;transform:none!important;}}
