/* Structure takes precedence over the first theme skins. Classic remains unchanged. */
.vl-home-shell[hidden], .vl-catalog-shell[hidden] { display: none !important; }
.vl-editorial-cover, .vl-community-aside, .vl-admin-guide { display: none; }
.vl-home-shell :is(h2,h3,p), .vl-catalog-shell :is(h2,h3), .vl-community-aside :is(h2,h3,p) { margin: 0; }
.vl-home-shell :is(a,button), .vl-catalog-topics button { -webkit-tap-highlight-color: transparent; }
.vl-home-shell a { text-decoration: none; }
.vl-home-shell, .vl-catalog-shell, .vl-home-stage, .vl-catalog-results, .vl-catalog-filters { min-width: 0; }
.vl-home-shell h2, .vl-home-shell h1 { text-wrap: balance; }
.vl-home-shell a:focus-visible, .vl-catalog-topics button:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.vl-home-shell a:active, .vl-catalog-topics button:active { opacity: .8; }
.vl-home-channels { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.vl-home-channels a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 700; color: var(--muted); }
.vl-home-channels a:first-child { color: var(--action); }
.vl-home-channels a:hover { color: var(--action); text-decoration: underline; text-underline-offset: 7px; }
.vl-discovery-nav h2 { display:flex;align-items:center;gap:9px;font-size:16px; }
.vl-discovery-nav a { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:62px;color:var(--ink); }
.vl-discovery-nav a strong, .vl-discovery-nav a small { display:block; }
.vl-discovery-nav a strong { font-size:14px; }
.vl-discovery-nav a small { color:var(--muted);font-size:12px;margin-top:3px; }
.vl-discovery-nav .vl-nav-all { min-height:44px;font-size:13px;color:var(--action); }
.vl-tools-heading { display:flex;align-items:center;gap:8px; }
.vl-tools-heading h2 { font-size:16px; }
.vl-learning-tools > p { color:var(--muted);font-size:13px;line-height:1.7;margin:10px 0 14px; }
.vl-tools-primary { display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;background:var(--action);color:#fff;border-radius:10px;font-size:14px;font-weight:700; }
.vl-tools-links { display:grid;gap:4px;padding-top:15px; }
.vl-tools-links a { display:flex;align-items:center;gap:10px;min-height:67px;color:var(--action); }
.vl-tools-links a span { min-width:0; }
.vl-tools-links strong { display:block;color:var(--ink);font-size:13px; }
.vl-tools-links small { display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:3px; }
.vl-home-courses { scroll-margin-top:100px; }
.vl-catalog-topics button { display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;width:100%;background:transparent;border:0;font:inherit;font-size:14px;color:var(--muted);text-align:left;cursor:pointer; }
.vl-catalog-topics button[aria-pressed="true"] { color:var(--action);font-weight:700; }
.vl-catalog-topics button:hover { color:var(--action);text-decoration:underline;text-underline-offset:4px; }
.vl-admin-guide ol { list-style:none;counter-reset:steps;padding:0;display:grid;gap:24px;margin:22px 0; }
.vl-admin-guide li { counter-increment:steps;position:relative;padding-left:36px; }
.vl-admin-guide li::before { content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--action);font-size:13px;font-weight:700; }
.vl-admin-guide li strong, .vl-admin-guide li span { display:block;font-size:14px; }
.vl-admin-guide li span { font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6; }
.vl-admin-guide > a { display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--action); }
.ui-theme-mini-cobalt { grid-template-columns:1fr 1fr 1fr;grid-template-rows:2fr 1fr; }
.ui-theme-mini-cobalt > span { grid-column:1;grid-row:1/3;background:#dadff7; }
.ui-theme-mini-cobalt > i:nth-child(2) { grid-column:2/4;background:#aeb7ed; }
.ui-theme-mini-editorial { grid-template-columns:repeat(3,1fr);grid-template-rows:12px 1fr; }
.ui-theme-mini-editorial > span { border-bottom:2px solid #a44525;background:#eadfce; }
.ui-theme-mini-editorial > i:nth-child(2) { grid-column:1/3;background:#cfb698; }
.ui-theme-mini-editorial > i:last-child { display:none; }

/* B — a content discovery workspace: category rail / discovery / learning tools. */
html[data-ui-theme="cobalt"] body[data-page="home"] { background:#f5f6fb; }
html[data-ui-theme="cobalt"] .vl-home-shell { display:grid;grid-template-columns:200px minmax(0,1fr) 232px;gap:20px;margin-top:28px;max-width:1320px;width:calc(100% - 64px); }
html[data-ui-theme="cobalt"] .vl-discovery-nav { padding:18px;background:#fff;border-radius:16px;box-shadow:0 3px 16px #252e5a05; }
html[data-ui-theme="cobalt"] .vl-discovery-nav h2 { padding:0 0 12px;border-bottom:1px solid #eceef7;color:#3944ae; }
html[data-ui-theme="cobalt"] .vl-discovery-nav a { border-bottom:1px solid #f1f2f7; }
html[data-ui-theme="cobalt"] .vl-discovery-nav a:hover strong { color:var(--action); }
html[data-ui-theme="cobalt"] .vl-discovery-nav .vl-nav-all { margin-top:6px;border:0; }
html[data-ui-theme="cobalt"] .vl-home-stage { display:flex; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero { width:100%;border-radius:20px;overflow:hidden;border:0;background:#eaebfc; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-inner { width:100%;max-width:none;min-height:100%;padding:34px 28px; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-inner::after { inset:0 0 0 auto;width:37%;border-radius:0;box-shadow:none;background-position:55% center;mask-image:linear-gradient(90deg,transparent,#000 25%);opacity:.85; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero h1 { width:100%;font-size:18px;letter-spacing:0;font-weight:600;margin-bottom:17px;color:#4e5585; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero .hero-statement { width:74%;font-size:clamp(25px,2.35vw,34px);font-weight:800;line-height:1.5;color:#252c55;margin:0 0 15px;text-wrap:balance; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero p:not(.hero-statement) { width:69%;font-size:13px;line-height:1.9; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-search { width:82%;margin-top:25px;min-height:52px;position:relative; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-search input { min-width:0;min-height:40px;font-size:13px; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-search button { min-height:44px;padding-inline:14px;font-size:13px; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero .button-row { width:100%;gap:8px 18px;position:relative; }
html[data-ui-theme="cobalt"] .vl-home-stage .hero-link { font-size:13px; }
html[data-ui-theme="cobalt"] .vl-learning-tools { display:block;background:#fff;padding:22px 18px;border-radius:16px; }
html[data-ui-theme="cobalt"] .vl-home-channels { grid-column:1/-1;border-bottom:1px solid #dfe2f0;margin-top:4px;padding:0 4px; }
html[data-ui-theme="cobalt"] .vl-home-channels a:first-child { border-bottom:3px solid var(--action); }
html[data-ui-theme="cobalt"] body[data-page="home"] #main > .vl-home-goals { display:none; }
html[data-ui-theme="cobalt"] body[data-page="home"] .section > .container { max-width:1320px;width:calc(100% - 64px); }
html[data-ui-theme="cobalt"] .vl-home-courses { padding-top:30px; }
html[data-ui-theme="cobalt"] .vl-home-courses .section-head { margin-bottom:18px; }
html[data-ui-theme="cobalt"] .vl-home-courses .section-head h2 { font-size:22px; }
html[data-ui-theme="cobalt"] .vl-home-courses .grid { gap:22px; }
html[data-ui-theme="cobalt"] .vl-home-community .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html[data-ui-theme="cobalt"] .vl-home-community .card { border:0;box-shadow:none; }
html[data-ui-theme="cobalt"] .vl-catalog-shell { display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start; }
html[data-ui-theme="cobalt"] .vl-catalog-filters { background:#fff;border:1px solid #e4e6f2;padding:18px;border-radius:16px; }
html[data-ui-theme="cobalt"] .vl-catalog-filters > h2 { font-size:16px;margin-bottom:18px; }
html[data-ui-theme="cobalt"] .vl-catalog-topics { display:grid;gap:3px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #eceef7; }
html[data-ui-theme="cobalt"] .vl-catalog-topics h3 { font-size:13px;font-weight:400;color:var(--muted);margin-bottom:5px; }
html[data-ui-theme="cobalt"] .vl-catalog-topics button { padding:9px 12px;border-radius:8px; }
html[data-ui-theme="cobalt"] .vl-catalog-topics button[aria-pressed="true"] { background:#eeeffc; }
html[data-ui-theme="cobalt"] .vl-catalog-filters .filter-bar { display:grid;grid-template-columns:minmax(0,1fr);padding:0;background:transparent;border:0;box-shadow:none;gap:12px; }
html[data-ui-theme="cobalt"] .vl-catalog-filters .filter-bar > * { width:100%;min-width:0; }
html[data-ui-theme="cobalt"] .vl-catalog-filters #course-category { display:none; }
html[data-ui-theme="cobalt"] .vl-catalog-filters .v2-course-extra-filters { margin-top:15px;padding:0;border:0;background:transparent; }
html[data-ui-theme="cobalt"] .vl-catalog-filters .v2-course-extra-grid { grid-template-columns:minmax(0,1fr); }
html[data-ui-theme="cobalt"] .vl-catalog-filters .v2-course-extra-filters summary { font-size:13px;line-height:1.7;min-height:44px; }
html[data-ui-theme="cobalt"] .vl-catalog-results #course-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:20px; }
html[data-ui-theme="cobalt"] .vl-catalog-results .card-body { padding:16px; }
html[data-ui-theme="cobalt"] .vl-catalog-results .card h3 { font-size:17px; }
html[data-ui-theme="cobalt"] .vl-catalog-results .v2-course-path-entry { margin-top:0; }
html[data-ui-theme="cobalt"] body[data-page="community"] .feed { grid-template-columns:168px minmax(0,1fr) 238px;gap:24px;align-items:start; }
html[data-ui-theme="cobalt"] .vl-community-aside { display:block;padding:24px 20px;background:#eeeffc;border-radius:16px; }
html[data-ui-theme="cobalt"] .vl-community-aside h2 { font-size:19px;line-height:1.6; }
html[data-ui-theme="cobalt"] .vl-community-aside p { font-size:14px;color:var(--muted);line-height:1.9;margin:12px 0 18px; }
html[data-ui-theme="cobalt"] .vl-community-aside .btn { width:100%; }
html[data-ui-theme="cobalt"] .vl-community-aside > div { border-top:1px solid #d4d7ec;margin-top:22px;padding-top:18px; }
html[data-ui-theme="cobalt"] .vl-community-aside h3 { font-size:14px;margin-bottom:10px; }
html[data-ui-theme="cobalt"] .vl-community-aside > div a { display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--action); }
html[data-ui-theme="cobalt"] body[data-page="community"] .side-menu { border:0;padding:12px;background:#fff;border-radius:12px; }
html[data-ui-theme="cobalt"] body[data-page="community"] .feed-post { padding:24px;margin-bottom:16px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .dashboard { max-width:1440px;width:calc(100% - 48px);grid-template-columns:244px minmax(0,1fr);gap:28px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .dash-side { border:0;border-radius:18px;padding:20px 14px;background:#e8eaf9; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-admin-nav-group { border:0;border-bottom:1px solid #d6daef;background:transparent; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .dash-main { border:0;background:transparent;box-shadow:none;padding:0; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview { grid-template-columns:minmax(0,1fr) 245px;gap:22px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-head { grid-column:1/-1;border:0;border-radius:18px;background:#4654cf;padding:28px 30px;color:#fff; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-head h2 { color:#fff;font-size:28px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-head p { color:#f1f2ff;max-width:680px;font-size:13px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-total { width:80px;background:#ffffff15;color:#fff;border:1px solid #ffffff55;border-radius:18px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-total small { color:#fff; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview > .v2-school-queue-grid { grid-column:1;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-queue-link { min-height:92px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;align-content:center;gap:24px;padding:20px;border:0;box-shadow:0 3px 10px #2b336c06;border-radius:14px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-queue-link > small { grid-column:auto; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-queue-link > strong { font-size:26px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .vl-admin-guide { display:block;grid-column:2;grid-row:2 / span 3;background:#fff;border-radius:16px;padding:22px;align-self:start; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .vl-admin-guide h3 { margin:0;font-size:16px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-quick-section { grid-column:1; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-quick-link { border:0;padding:18px;min-height:88px;border-radius:14px; }
html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-count-rules, html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-risk-section { grid-column:1; }

/* C — an academy journal: masthead / subject cover / horizontal course index. */
html[data-ui-theme="editorial"] .vl-home-shell { display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:1280px;width:calc(100% - 80px); }
html[data-ui-theme="editorial"] .vl-discovery-nav, html[data-ui-theme="editorial"] .vl-learning-tools { display:none; }
html[data-ui-theme="editorial"] .vl-home-stage .hero { background:none;border:0;padding:0;min-height:0; }
html[data-ui-theme="editorial"] .vl-home-stage .hero::before, html[data-ui-theme="editorial"] .vl-home-stage .hero::after, html[data-ui-theme="editorial"] .vl-home-stage .hero-inner::before, html[data-ui-theme="editorial"] .vl-home-stage .hero-inner::after { content:none; }
html[data-ui-theme="editorial"] .vl-home-stage .hero-inner { width:100%;max-width:none;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:center;column-gap:40px;padding:34px 0 26px; }
html[data-ui-theme="editorial"] .vl-home-stage .hero h1 { grid-column:1/-1;max-width:100%;width:100%;margin:0;text-align:center;font-size:40px;letter-spacing:.12em;line-height:1.4;font-weight:600; }
html[data-ui-theme="editorial"] .vl-home-stage .hero .hero-statement { grid-column:1/-1;max-width:100%;width:100%;text-align:center;font-size:15px;font-family:inherit;letter-spacing:.06em;color:var(--muted);font-weight:400;margin:8px 0 24px; }
html[data-ui-theme="editorial"] .vl-home-stage .hero p:not(.hero-statement) { grid-column:1;max-width:100%;width:100%;font-size:13px;margin:0; }
html[data-ui-theme="editorial"] .vl-home-stage .hero-search { grid-column:2;grid-row:3;max-width:none;width:100%;height:48px;margin:0;background:#fffdf8;border-color:#cbb99f; }
html[data-ui-theme="editorial"] .vl-home-stage .hero-search input { width:100%;min-width:0;font-size:13px; }
html[data-ui-theme="editorial"] .vl-home-stage .hero-search button { min-height:44px;font-size:13px;white-space:nowrap; }
html[data-ui-theme="editorial"] .vl-home-stage .hero .button-row { display:none; }
html[data-ui-theme="editorial"] .vl-home-channels { grid-row:2;border-block:1px solid #c8b7a3;justify-content:center;gap:12px 48px;padding:3px 0;margin-bottom:24px; }
html[data-ui-theme="editorial"] .vl-home-channels a { font-size:14px;color:#594e40; }
html[data-ui-theme="editorial"] .vl-editorial-cover { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:34px;padding-bottom:28px;border-bottom:1px solid #c8b7a3; }
html[data-ui-theme="editorial"] .vl-cover-main { display:grid;position:relative;isolation:isolate;overflow:hidden;min-height:390px;color:#fff;border-radius:0; }
html[data-ui-theme="editorial"] .vl-cover-main::after { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#13221ee6 0%,#12201b55 55%,transparent); }
html[data-ui-theme="editorial"] .vl-cover-main img { position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover; }
html[data-ui-theme="editorial"] .vl-cover-main > div { align-self:end;padding:30px; }
html[data-ui-theme="editorial"] .vl-cover-main > div > span { display:inline-block;font-size:13px;border-bottom:1px solid #ffffff80;padding-bottom:8px; }
html[data-ui-theme="editorial"] .vl-cover-main h2 { font-family:var(--ed-heading);font-size:36px;line-height:1.55;color:#fff;letter-spacing:.03em;margin:12px 0 8px; }
html[data-ui-theme="editorial"] .vl-cover-main p { color:#f4f4ee;font-size:14px;line-height:1.8; }
html[data-ui-theme="editorial"] .vl-cover-main strong { display:flex;align-items:center;justify-content:space-between;margin-top:20px;color:#fff;font-size:14px;font-weight:400; }
html[data-ui-theme="editorial"] .vl-cover-main strong span { font-size:22px; }
html[data-ui-theme="editorial"] .vl-cover-stories { display:grid; }
html[data-ui-theme="editorial"] .vl-cover-stories > a { display:grid;grid-template-columns:34px minmax(0,1fr);gap:15px;padding:20px 0;color:var(--ink);border-bottom:1px solid #d9cdbd; }
html[data-ui-theme="editorial"] .vl-cover-stories > a:first-child { padding-top:5px; }
html[data-ui-theme="editorial"] .vl-cover-stories > a:last-child { border:0;padding-bottom:0; }
html[data-ui-theme="editorial"] .vl-story-number { font-size:25px;color:#a44525;font-family:Georgia,serif;font-style:italic;line-height:1.4; }
html[data-ui-theme="editorial"] .vl-cover-stories h2 { font-size:23px;font-family:var(--ed-heading);font-weight:600;line-height:1.6; }
html[data-ui-theme="editorial"] .vl-cover-stories p { color:var(--muted);font-size:13px;line-height:1.8;margin:6px 0 9px; }
html[data-ui-theme="editorial"] .vl-cover-stories div > span { font-size:13px;color:var(--action); }
html[data-ui-theme="editorial"] .vl-cover-stories a:hover h2 { color:var(--action); }
html[data-ui-theme="editorial"] body[data-page="home"] .section > .container { max-width:1280px;width:calc(100% - 80px); }
html[data-ui-theme="editorial"] .vl-home-goals { display:none; }
html[data-ui-theme="editorial"] .vl-home-courses .section-head { border:0;align-items:center; }
html[data-ui-theme="editorial"] .vl-home-courses .section-head h2 { font-size:30px; }
html[data-ui-theme="editorial"] .vl-home-courses .grid { grid-template-columns:minmax(0,1fr);gap:0;counter-reset:course-index; }
html[data-ui-theme="editorial"] .vl-home-courses .card { display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;position:relative;border:0;border-bottom:1px solid #d9cdbd;border-radius:0;background:transparent;padding:22px 0;box-shadow:none; }
html[data-ui-theme="editorial"] .vl-home-courses .card:first-child { padding-top:0; }
html[data-ui-theme="editorial"] .vl-home-courses .card-image { aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;border-radius:0; }
html[data-ui-theme="editorial"] .vl-home-courses .card-body { padding:0 0 0 0;min-width:0; }
html[data-ui-theme="editorial"] .vl-home-courses .card h3 { font-size:22px; }
html[data-ui-theme="editorial"] .vl-home-courses .card-footer { margin-top:10px;padding-top:8px;border:0; }
html[data-ui-theme="editorial"] .vl-catalog-shell { display:grid;grid-template-columns:minmax(0,1fr);gap:24px; }
html[data-ui-theme="editorial"] .vl-catalog-filters { border-block:1px solid #c8b7a3;padding:16px 0; }
html[data-ui-theme="editorial"] .vl-catalog-filters > h2, html[data-ui-theme="editorial"] .vl-catalog-topics h3 { display:none; }
html[data-ui-theme="editorial"] .vl-catalog-topics { display:flex;flex-wrap:wrap;gap:6px 24px;margin-bottom:12px; }
html[data-ui-theme="editorial"] .vl-catalog-topics button { width:auto;min-height:44px;border-bottom:2px solid transparent;padding:6px 0; }
html[data-ui-theme="editorial"] .vl-catalog-topics button > span { display:none; }
html[data-ui-theme="editorial"] .vl-catalog-topics button[aria-pressed="true"] { border-bottom-color:var(--action); }
html[data-ui-theme="editorial"] .vl-catalog-filters .filter-bar { border:0;padding:0;background:transparent;margin-bottom:10px; }
html[data-ui-theme="editorial"] .vl-catalog-filters #course-category { display:none; }
html[data-ui-theme="editorial"] .vl-catalog-filters .v2-course-extra-filters { margin:0;background:transparent;border:0;padding:0; }
html[data-ui-theme="editorial"] .vl-catalog-results .v2-course-path-entry { margin-top:0;background:transparent;border:0;padding:0; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card { display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);align-items:start;gap:18px;border:0;border-bottom:1px solid #d7cbbd;background:transparent;padding:0 0 22px;box-shadow:none;border-radius:0; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card-image { width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:0; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card-body { padding:0;min-width:0; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid h3 { font-size:18px;line-height:1.6;margin-block:8px; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card-meta { font-size:12px;line-height:1.7; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card p { font-size:13px; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card-footer { flex-wrap:wrap;gap:0 8px;margin-top:8px;border:0;padding:0;font-size:12px; }
html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .v2-favorite-toggle { top:6px;left:6px;right:auto; }
html[data-ui-theme="editorial"] body[data-page="community"] .feed { display:flex;flex-direction:column;gap:24px; }
html[data-ui-theme="editorial"] body[data-page="community"] .side-menu { width:100%;display:flex;flex-wrap:wrap;gap:6px 22px;padding:12px 0;border-block:1px solid #c8b7a3; }
html[data-ui-theme="editorial"] body[data-page="community"] .side-menu button { width:auto;min-height:44px;padding:8px 4px;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0; }
html[data-ui-theme="editorial"] body[data-page="community"] .side-menu button.active { border-bottom-color:var(--action); }
html[data-ui-theme="editorial"] body[data-page="community"] .feed > div { width:100%; }
html[data-ui-theme="editorial"] #post-feed { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;counter-reset:discussion; }
html[data-ui-theme="editorial"] #post-feed .feed-post { border:0;border-top:1px solid #c8b7a3;border-radius:0;padding:24px 0;margin:0;background:transparent;counter-increment:discussion; }
html[data-ui-theme="editorial"] #post-feed .feed-post::before { content:counter(discussion,decimal-leading-zero);font-family:Georgia,serif;font-size:30px;color:var(--action);font-style:italic;display:block;margin-bottom:12px; }
html[data-ui-theme="editorial"] #post-feed .feed-post h3 { font-family:var(--ed-heading);font-size:23px;line-height:1.7; }
html[data-ui-theme="editorial"] body[data-page="admin"] .dashboard { display:block;max-width:1360px;width:calc(100% - 64px); }
html[data-ui-theme="editorial"] body[data-page="admin"] .dash-main { background:transparent;padding:28px 0 0;border:0;box-shadow:none; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview { display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px 40px;border-top:2px solid #a44525;padding-top:26px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-head { grid-column:1;display:flex;justify-content:space-between;padding:0 0 20px;border:0;border-bottom:1px solid #c8b7a3;background:transparent;border-radius:0; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-head h2 { font-family:var(--ed-heading);font-size:30px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-head p { font-size:13px;max-width:600px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-total { border:0;background:transparent;font-size:48px;font-family:Georgia,serif;font-weight:400;width:64px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview > .v2-school-queue-grid { grid-column:1;grid-template-columns:minmax(0,1fr);gap:0; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-queue-link { min-height:80px;grid-template-columns:minmax(0,1fr) 60px 80px;align-items:center;align-content:center;gap:15px;border:0;border-bottom:1px solid #d9cdbd;background:transparent;padding:12px 4px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-queue-link > strong { font-family:Georgia,serif;font-size:32px;font-weight:400; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-queue-link > small { grid-column:auto; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-section { grid-column:2;grid-row:1 / span 3;margin:0;padding:0 0 0 26px;border-left:1px solid #c8b7a3; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-section h3 { font-family:var(--ed-heading);font-size:23px;margin:0 0 15px; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-grid { grid-template-columns:minmax(0,1fr);gap:0; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-link { padding:14px 0;border:0;border-bottom:1px solid #d9cdbd;border-radius:0;background:transparent; }
html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-count-rules, html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-risk-section { grid-column:1; }

@media(min-width:901px) {
  html[data-ui-theme="editorial"] body[data-page="admin"] .dash-side { position:relative;top:auto;width:100%;max-height:none;height:auto;overflow:visible;border:0;border-block:1px solid #c8b7a3;background:transparent;padding:6px 0;margin:0;border-radius:0;z-index:10; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dash-side > :is(h3,hr,.inline-link) { display:none; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dash-side nav.v2-admin-nav-groups { display:flex;flex-wrap:wrap;align-items:start;gap:4px 10px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dash-side nav > a { min-height:44px;margin:0;display:flex;align-items:center; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group { position:relative;border:0;background:transparent; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group > summary { min-height:44px;font-size:14px;gap:14px;padding:10px 14px;color:#67503f; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group > summary::after { content:'⌄'; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group:has(a.active) > summary, html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group[open] > summary { background:#eadbca;color:var(--action); }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group-links { position:absolute;top:calc(100% + 6px);left:0;display:grid;grid-template-columns:minmax(0,1fr);min-width:235px;max-height:65vh;overflow:auto;padding:8px;background:#fffcf6;border:1px solid #c8b7a3;box-shadow:0 14px 30px #47321c16; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group:nth-last-of-type(-n+2) .v2-admin-nav-group-links { left:auto;right:0; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-admin-nav-group-links a { white-space:normal;min-height:44px; }
}
@media(max-width:1200px) and (min-width:901px) {
  html[data-ui-theme="cobalt"] .vl-home-shell { grid-template-columns:184px minmax(0,1fr);gap:18px; }
  html[data-ui-theme="cobalt"] .vl-learning-tools { display:none; }
  html[data-ui-theme="cobalt"] body[data-page="community"] .feed { grid-template-columns:155px minmax(0,1fr); }
  html[data-ui-theme="cobalt"] .vl-community-aside { display:none; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .vl-admin-guide { display:none; }
  html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card { grid-template-columns:minmax(0,1fr);gap:14px; }
}
@media(max-width:900px) {
  html[data-ui-theme="cobalt"] .vl-home-shell { width:calc(100% - 40px);grid-template-columns:160px minmax(0,1fr);gap:16px;margin-top:20px; }
  html[data-ui-theme="cobalt"] .vl-learning-tools { display:none; }
  html[data-ui-theme="cobalt"] .vl-discovery-nav { padding:14px; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero-inner { padding:28px 22px; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero .hero-statement { font-size:28px;width:85%; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero p:not(.hero-statement) { width:85%; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero-search { width:100%; }
  html[data-ui-theme="cobalt"] body[data-page="home"] .section > .container { width:calc(100% - 40px); }
  html[data-ui-theme="cobalt"] .vl-catalog-shell { grid-template-columns:190px minmax(0,1fr);gap:20px; }
  html[data-ui-theme="cobalt"] .vl-catalog-filters { padding:14px; }
  html[data-ui-theme="cobalt"] .vl-catalog-results #course-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
  html[data-ui-theme="cobalt"] body[data-page="community"] .feed { grid-template-columns:140px minmax(0,1fr);gap:18px; }
  html[data-ui-theme="cobalt"] .vl-community-aside { display:none; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .dashboard { display:block;width:calc(100% - 40px); }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .vl-admin-guide { display:none; }
  html[data-ui-theme="editorial"] .vl-home-shell, html[data-ui-theme="editorial"] body[data-page="home"] .section > .container { width:calc(100% - 48px); }
  html[data-ui-theme="editorial"] .vl-home-stage .hero-inner { grid-template-columns:minmax(0,1fr);gap:14px;padding-top:28px; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero h1 { font-size:34px; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero .hero-statement { margin:0 0 4px; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero p:not(.hero-statement) { display:none; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero-search { grid-column:1;grid-row:auto;max-width:480px;justify-self:center; }
  html[data-ui-theme="editorial"] .vl-home-channels { gap:6px 24px;margin-bottom:20px; }
  html[data-ui-theme="editorial"] .vl-editorial-cover { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px; }
  html[data-ui-theme="editorial"] .vl-cover-main { min-height:375px; }
  html[data-ui-theme="editorial"] .vl-cover-main > div { padding:20px; }
  html[data-ui-theme="editorial"] .vl-cover-main h2 { font-size:28px; }
  html[data-ui-theme="editorial"] .vl-cover-stories h2 { font-size:20px; }
  html[data-ui-theme="editorial"] .vl-cover-stories > a { gap:10px;grid-template-columns:28px minmax(0,1fr); }
  html[data-ui-theme="editorial"] .vl-home-courses .card { grid-template-columns:200px minmax(0,1fr);gap:20px; }
  html[data-ui-theme="editorial"] .vl-home-courses .card h3 { font-size:19px; }
  html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card { grid-template-columns:minmax(0,1fr);gap:14px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dashboard { width:calc(100% - 40px); }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dash-main { padding-top:20px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview { grid-template-columns:minmax(0,1fr) 220px;gap:20px; }
}
@media(max-width:640px) {
  html[data-ui-theme="cobalt"] .vl-home-shell { width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px; }
  html[data-ui-theme="cobalt"] .vl-discovery-nav { display:none; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero-inner { min-height:0;padding:25px 20px; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero h1 { font-size:15px;margin-bottom:12px; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero .hero-statement { font-size:26px;width:88%; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero p:not(.hero-statement) { width:100%;font-size:13px; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero-inner::after { position:absolute;inset:0 0 0 auto;width:35%;height:100%;margin:0;border-radius:0;opacity:.14;z-index:-1; }
  html[data-ui-theme="cobalt"] .vl-home-stage .hero-search { margin-top:18px;border-radius:10px; }
  html[data-ui-theme="cobalt"] .vl-home-channels { grid-column:1;gap:0;justify-content:space-between;padding:0; }
  html[data-ui-theme="cobalt"] .vl-home-channels a { font-size:12px; }
  html[data-ui-theme="cobalt"] body[data-page="home"] .section > .container { width:calc(100% - 32px); }
  html[data-ui-theme="cobalt"] .vl-home-courses { padding-top:22px; }
  html[data-ui-theme="cobalt"] .vl-home-courses .grid { gap:16px; }
  html[data-ui-theme="cobalt"] .vl-home-community .grid { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] .vl-catalog-shell { grid-template-columns:minmax(0,1fr);gap:16px; }
  html[data-ui-theme="cobalt"] .vl-catalog-filters { padding:14px; }
  html[data-ui-theme="cobalt"] .vl-catalog-filters > h2, html[data-ui-theme="cobalt"] .vl-catalog-topics h3 { display:none; }
  html[data-ui-theme="cobalt"] .vl-catalog-topics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:14px;padding-bottom:12px; }
  html[data-ui-theme="cobalt"] .vl-catalog-topics button { font-size:12px;padding:6px 4px;justify-content:center; }
  html[data-ui-theme="cobalt"] .vl-catalog-topics button span { display:none; }
  html[data-ui-theme="cobalt"] .vl-catalog-filters .filter-bar { grid-template-columns:minmax(0,1fr) auto;gap:10px; }
  html[data-ui-theme="cobalt"] .vl-catalog-filters #course-search { grid-column:1/-1; }
  html[data-ui-theme="cobalt"] .vl-catalog-results #course-grid { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] .vl-catalog-filters .v2-course-extra-grid { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] body[data-page="community"] .feed { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="cobalt"] body[data-page="community"] .side-menu { padding:10px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .dashboard { width:calc(100% - 28px); }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .dash-side { border-radius:12px;padding:8px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-head { padding:20px 16px;border-radius:14px;gap:14px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-head h2 { font-size:22px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-overview-total { width:56px;font-size:25px;border-radius:12px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-queue-link { grid-template-columns:minmax(0,1fr) 35px;gap:8px;padding:16px;min-height:88px; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-queue-link > small { grid-column:1/-1; }
  html[data-ui-theme="cobalt"] body[data-page="admin"] .v2-school-quick-link { padding:14px 12px; }
  html[data-ui-theme="editorial"] .vl-home-shell, html[data-ui-theme="editorial"] body[data-page="home"] .section > .container { width:calc(100% - 36px); }
  html[data-ui-theme="editorial"] .vl-home-stage .hero-inner { padding:24px 0 18px; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero h1 { font-size:29px;letter-spacing:.08em; }
  html[data-ui-theme="editorial"] .vl-home-stage .hero .hero-statement { font-size:13px;line-height:1.8;letter-spacing:0; }
  html[data-ui-theme="editorial"] .vl-home-channels { gap:0;justify-content:space-between; }
  html[data-ui-theme="editorial"] .vl-home-channels a { font-size:12px; }
  html[data-ui-theme="editorial"] .vl-editorial-cover { grid-template-columns:minmax(0,1fr);gap:20px; }
  html[data-ui-theme="editorial"] .vl-cover-main { min-height:330px; }
  html[data-ui-theme="editorial"] .vl-cover-main h2 { font-size:30px; }
  html[data-ui-theme="editorial"] .vl-cover-main p { font-size:13px; }
  html[data-ui-theme="editorial"] .vl-cover-stories { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="editorial"] .vl-cover-stories > a, html[data-ui-theme="editorial"] .vl-cover-stories > a:first-child { padding:15px 0; }
  html[data-ui-theme="editorial"] .vl-cover-stories > a:last-child { padding-bottom:0; }
  html[data-ui-theme="editorial"] .vl-cover-stories h2 { font-size:21px; }
  html[data-ui-theme="editorial"] .vl-home-courses .section-head h2 { font-size:25px; }
  html[data-ui-theme="editorial"] .vl-home-courses .card { grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0; }
  html[data-ui-theme="editorial"] .vl-home-courses .card h3 { font-size:21px; }
  html[data-ui-theme="editorial"] .vl-catalog-topics { gap:0 18px; }
  html[data-ui-theme="editorial"] .vl-catalog-topics button { font-size:13px; }
  html[data-ui-theme="editorial"] .vl-catalog-results #course-grid { grid-template-columns:minmax(0,1fr);gap:24px; }
  html[data-ui-theme="editorial"] .vl-catalog-results #course-grid .card { grid-template-columns:minmax(0,1fr);gap:14px; }
  html[data-ui-theme="editorial"] .vl-catalog-results #course-grid h3 { font-size:21px; }
  html[data-ui-theme="editorial"] #post-feed { grid-template-columns:minmax(0,1fr); }
  html[data-ui-theme="editorial"] body[data-page="community"] .side-menu { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px; }
  html[data-ui-theme="editorial"] body[data-page="community"] .side-menu button { width:100%;font-size:13px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .dashboard { width:calc(100% - 28px); }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview { grid-template-columns:minmax(0,1fr);gap:18px;padding-top:18px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-head h2 { font-size:25px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-overview-total { font-size:38px;width:50px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-queue-link { grid-template-columns:minmax(0,1fr) 35px; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-queue-link > small { grid-column:1/-1; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-section { grid-column:1;grid-row:auto;border:0;border-top:1px solid #c8b7a3;padding:18px 0 0; }
  html[data-ui-theme="editorial"] body[data-page="admin"] .v2-school-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px; }
}

/* Search focus is a calm input state in every theme, distinct from validation errors.
   Text inputs show :focus-visible even after a pointer click, so replace the old
   outline with a visible border and halo rather than removing focus feedback. */
html[data-ui-theme] {
  --search-focus: #55768a;
  --search-focus-halo: rgb(85 118 138 / 14%);
}
html[data-ui-theme] body :is(input[type="search"], input[name="q"], .search-large, .filter-bar input):not([aria-invalid="true"]):focus {
  border-color: var(--search-focus);
  box-shadow: 0 0 0 2px var(--search-focus-halo);
  outline: none;
  outline-offset: 0;
}
/* Compound searches use the outer surface; their input must not get a second ring. */
html[data-ui-theme] body :is(.hero-search, .v2-search-input-row):focus-within {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}
html[data-ui-theme] body :is(.hero-search, .v2-search-input-row):has(input:not([aria-invalid="true"]):focus) {
  border-color: var(--search-focus);
  box-shadow: 0 0 0 2px var(--search-focus-halo);
}
html[data-ui-theme] body :is(.hero-search, .v2-search-input-row) input:not([aria-invalid="true"]):focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}
