@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');:root{--navy:#0b2341;--blue:#2563eb;--muted:#62738b;--border:#e2e8f0;--bg:#f7f9fc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#152b47;font-family:Cairo,Tahoma,Arial,sans-serif;line-height:1.85}.wrap{width:min(1120px,92%);margin:auto}.top{background:white;border-bottom:1px solid var(--border)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:86px;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:17px;color:var(--navy);text-decoration:none}.brand small{display:block;color:var(--muted);font-weight:500;font-size:11px}.logo{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--navy);color:white;font:800 25px Georgia}.nav nav{display:flex;gap:24px}.nav a{color:var(--navy);text-decoration:none}.hero{margin:30px 0 65px;border-radius:24px;padding:68px 7%;background:linear-gradient(115deg,#0a1d35,#174779);color:white;position:relative;overflow:hidden}.hero:after{content:'◈';position:absolute;left:8%;top:5%;font-size:240px;color:#ffffff0d}.eyebrow{color:#6ba6ff;font-size:13px;font-weight:800;letter-spacing:.2px}.hero h1{font-size:clamp(32px,5vw,55px);line-height:1.5;margin:15px 0}.hero em{color:#81b4ff;font-style:normal}.hero p{max-width:600px;color:#d2ddeb}.primary{background:var(--blue);color:white!important;border:0;padding:10px 22px;border-radius:10px;text-decoration:none;display:inline-block;font:700 14px Cairo;cursor:pointer}.primary:disabled{opacity:.55;cursor:not-allowed}.hero .primary{background:white;color:#123d71!important;margin-top:15px}.sectionhead,.adminbar,.actions,.cardbottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.sectionhead h2{font-size:28px;margin:3px 0 18px}.count,.tag{background:#eaf2ff;color:#245eb6;padding:3px 11px;border-radius:20px;font-size:12px;font-weight:700}.filters{display:flex;gap:12px;margin-bottom:25px}.filters input{flex:1}.filters select{min-width:180px}input,select,textarea{font:inherit;border:1px solid #d7dfeb;border-radius:9px;padding:10px 12px;background:white;color:#152b47;width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #9ec1ff}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card,.panel{background:white;border:1px solid var(--border);border-radius:16px;padding:23px}.card{display:flex;flex-direction:column;align-items:flex-start;min-height:260px}.cardicon{display:grid;place-items:center;width:50px;height:50px;background:#eff5ff;border-radius:13px;color:#1f5eb4;font-weight:800;font-size:25px;margin-bottom:15px}.card h3{font-size:18px;margin:12px 0 5px;overflow-wrap:anywhere}.card p{font-size:13px;color:var(--muted);margin:0 0 20px;flex:1}.cardbottom{width:100%;border-top:1px solid var(--border);padding-top:13px;font-size:12px;color:var(--muted)}.cardbottom a,.pagehead a,.actions a{color:#2463d7;text-decoration:none;font-weight:700}.pagehead{padding:30px 0}.pagehead h1{font-size:30px;margin:8px 0}.detail{display:grid;grid-template-columns:2fr 1fr;gap:20px}.panel h2{font-size:19px;margin:0 0 15px}.panel h2:not(:first-child){margin-top:28px}.panel p{white-space:normal;color:#51637a}.wide{display:block;text-align:center;width:100%}.panel small,.hint{display:block;color:var(--muted);margin-top:14px}.form{display:grid;gap:16px}.form label{font-weight:700;font-size:13px}.form label input,.form label textarea,.form label select{display:block;margin-top:6px;font-weight:400}.narrow{max-width:500px}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}.adminbar{margin-bottom:20px}.ghost,.danger{border:1px solid #cbd5e1;border-radius:8px;background:white;padding:8px 12px;cursor:pointer;font:inherit}.danger{color:#b42318}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:right}td,th{padding:12px;border-bottom:1px solid var(--border)}td{font-size:13px}.actions{justify-content:flex-start}.alert,.success{padding:12px;border-radius:8px;background:#fff1f1;color:#a52828}.success{background:#e8f9ef;color:#176a3d}.empty{padding:40px;text-align:center}footer{text-align:center;margin-top:70px;padding:26px;background:#edf2f9;color:#65748b;font-size:12px}@media(max-width:750px){.nav{flex-direction:column;padding:15px}.hero{padding:40px 25px}.cards{grid-template-columns:1fr}.filters{flex-direction:column}.detail,.two{grid-template-columns:1fr}.sectionhead h2{font-size:22px}}

/* Upgrade v2 */
:root{--bg:#f3f6fb;--navy:#092341;--blue:#1d5be3}.top{box-shadow:0 4px 22px #142d5110}.hero{background:radial-gradient(circle at 12% 20%,#275b9d 0,transparent 34%),linear-gradient(125deg,#081a30,#123e70);box-shadow:0 20px 48px #173c6a24}.card{transition:transform .18s,box-shadow .18s;box-shadow:0 5px 22px #173c6a09}.card:hover{transform:translateY(-3px);box-shadow:0 15px 35px #173c6a1c}.cardicon{width:76px;height:76px;overflow:hidden}.program-image{width:100%;height:100%;object-fit:contain}.program-initial{font-size:32px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:-40px 0 55px;position:relative}.features>div{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px 22px;box-shadow:0 10px 30px #0a234114;color:#1d5be3;font-size:22px}.features b{display:inline-block;font-size:15px;color:var(--navy);margin-right:10px}.features small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 22px}.stats>div{background:white;border:1px solid var(--border);border-radius:15px;padding:18px}.stats strong{font-size:30px;color:var(--blue);display:block}.stats span{font-size:13px;color:var(--muted)}.detail-cover{width:86px;height:86px;border-radius:16px;background:#edf4ff;padding:10px;margin-top:15px}.outline-link{display:inline-block;margin:12px 0 0 12px;padding:9px 14px;border:1px solid #b9d1f8;border-radius:10px;color:#1d5be3;text-decoration:none;font-weight:700;font-size:13px}@media(max-width:750px){.features,.stats{grid-template-columns:1fr}.features{margin:0 0 35px}}

/* V3 bilingual dashboard */
:root{--navy:#0c2342;--blue:#245ce9;--bg:#f3f6fb}
body{background:var(--bg)}.top{box-shadow:0 2px 16px #0b244008}.lang-switch{background:#eaf1ff;border-radius:10px;padding:7px 13px;font-weight:800!important}.admin-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;margin:30px 0 20px;align-items:start}.admin-sidebar{background:#0c2342;color:#dce8fc;border-radius:20px;padding:25px 16px;min-height:620px;position:sticky;top:18px;box-shadow:0 12px 35px #0b234126}.sidebar-title{font-weight:800;color:white;font-size:21px;padding:7px 12px 26px;border-bottom:1px solid #ffffff22;margin-bottom:20px}.sidebar-title span{font-size:15px}.side-link{display:block;text-decoration:none;color:#dce8fc;padding:12px 15px;border-radius:12px;margin:5px 0;font-weight:700}.side-link:hover,.side-link:focus{background:#244b7a;color:white}.sidebar-note{font-size:12px;color:#9bb3d2;line-height:2;border-top:1px solid #ffffff22;margin-top:30px;padding:20px 10px}.admin-content{min-width:0}.dashboard-heading{padding:0 0 12px}.dashboard-heading h1{font-size:32px;margin:0}.dashboard-heading p{color:#6d7e93;margin:0}.adminbar{margin:10px 0 22px}.dashboard-stats{margin:0 0 25px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-stats>div{background:#fff;border:1px solid #e2eaf4;border-radius:17px;padding:22px;box-shadow:0 7px 24px #0c234209;display:flex;flex-direction:column;gap:6px}.dashboard-stats strong{font-size:35px;line-height:1.3;color:#205eea}.dashboard-stats span{font-weight:700;color:#526984}.dashboard-stats small{color:#8293a9}.panel{box-shadow:0 7px 26px #0c234209}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading h2{margin:0}.panel-heading p{margin:0;font-size:12px}.panel-heading a{color:#2861db;text-decoration:none}.program-cell{display:flex;align-items:center;gap:11px}.program-cell strong{display:block}.program-cell small{display:block;color:#7c8da3}.mini-icon{width:40px;height:40px;background:#eaf2ff;border-radius:11px;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.mini-icon .program-image{width:100%;height:100%;object-fit:cover}.mini-icon .program-initial{font-size:18px;color:#2861db;font-weight:800}.status{border-radius:20px;padding:4px 10px;font-weight:700;font-size:11px;white-space:nowrap}.is-live{background:#e8f8f0;color:#167e50}.is-hidden{background:#fff1e6;color:#995100}.program-table th{color:#72849c;font-size:12px}.program-table td{padding:15px 12px}.edit-panel{margin-bottom:22px}.edit-panel label{color:#203957}.edit-panel input[type=file]{font-size:12px}.program-table .actions{gap:12px}.program-table .danger{font-size:12px}.program-image{object-fit:cover}html[dir=ltr] table{text-align:left}html[dir=ltr] .hero:after{left:auto;right:8%}html[dir=ltr] .card{align-items:flex-start}html[dir=ltr] .cardbottom{flex-direction:row}html[dir=ltr] .detail{direction:ltr}
@media(max-width:950px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;min-height:0}.sidebar-note{display:none}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.dashboard-stats{grid-template-columns:1fr}.program-table{padding:14px}.admin-layout{gap:14px}.admin-sidebar{padding:15px}.sidebar-title{padding-bottom:12px}.dashboard-heading h1{font-size:25px}}

/* V4 institutional identity and bilingual content */
.college-logo{background:transparent!important;overflow:hidden;width:55px;height:55px;border-radius:8px}.college-logo img{width:100%;height:100%;object-fit:contain}.sidebar-logo{width:48px;height:48px;object-fit:contain;vertical-align:middle;margin-inline-end:10px}.sidebar-title{display:flex;align-items:center;gap:8px}.translation-section{border:1px solid #d8e5f6;background:#f6f9ff;padding:20px;border-radius:14px;display:grid;gap:15px}.translation-section h3{margin:0;color:#0b2341}.translation-section .hint{margin:0}.translation-section label{display:block}.translation-section textarea{width:100%}@media(max-width:750px){.sidebar-logo{width:36px;height:36px}}

/* V5 repaired: college crest, responsive hero, RTL/LTR */
.hero.hero-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  align-items: center;
  gap: 42px;
  min-height: 440px;
  direction: rtl;
  isolation: isolate;
}
.hero.hero-v5::before, .hero.hero-v5::after { content: none; display: none; }
.hero.hero-v5 .hero-content {
  grid-column: 1; grid-row: 1; min-width: 0;
  position: relative; z-index: 1; direction: rtl; text-align: right;
}
html[dir="ltr"] .hero.hero-v5 .hero-content { direction: ltr; text-align: left; }
/* The emblem is a complete image; never crop it with cover or hidden overflow. */
.hero.hero-v5 .hero-college-emblem {
  grid-column: 2; grid-row: 1;
  position: relative; inset: auto; transform: none;
  width: 205px; height: 205px; min-width: 0; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  justify-self: center; align-self: center;
  overflow: visible; opacity: 1; pointer-events: none;
  background: transparent; border: 0;
}
.hero.hero-v5 .hero-college-emblem img {
  display: block; width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  clip-path: none; border-radius: 0;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.16));
}
/* Do not let older generic .logo rules style the large crest. */
.hero.hero-v5 .hero-college-emblem.logo {
  background: transparent; color: inherit; border-radius: 0;
  font: inherit;
}
.sidebar-title { display: flex; align-items: center; gap: 12px; }
.sidebar-logo { width: 60px; height: 70px; flex-shrink: 0; object-fit: contain; }
@media (max-width: 850px) {
  .hero.hero-v5 { grid-template-columns: minmax(0,1fr) 140px; gap: 22px; padding: 42px 6%; }
  .hero.hero-v5 .hero-college-emblem { width: 140px; height: 140px; }
}
@media (max-width: 620px) {
  .hero.hero-v5 { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 34px 24px; }
  .hero.hero-v5 .hero-college-emblem {
    grid-column: 1; grid-row: 1; width: 125px; height: 125px;
    justify-self: center;
  }
  .hero.hero-v5 .hero-content { grid-column: 1; grid-row: 2; }
}


/* Student program detail V3.1 — scoped styles, preserves dashboard and home page */
.program-detail-v31{width:min(1120px,92%);margin:32px auto 65px;min-width:0}
.pd-back{display:inline-flex;margin:0 0 18px;color:var(--blue);text-decoration:none;font-weight:700}
.pd-back:hover,.pd-resources a:hover{text-decoration:underline}
.pd-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:35px 38px;background:linear-gradient(115deg,#0b2341,#174779);border-radius:22px;color:#fff;box-shadow:0 16px 35px #0b234126}
.pd-identity{flex:1;min-width:0}
.pd-kicker{color:#78b0ff;font-weight:800;font-size:12px}
.pd-program-heading{display:flex;align-items:center;gap:17px;margin:14px 0}
.pd-program-icon{width:82px;height:82px;flex:none;border-radius:17px;display:grid;place-items:center;background:#ffffff18;overflow:hidden}
.pd-program-icon .program-image{width:100%;height:100%;object-fit:contain}
.pd-program-icon .program-initial{color:white;font-size:34px}
.pd-program-title{min-width:0}
.pd-program-title h1{font-size:clamp(23px,3vw,34px);line-height:1.45;overflow-wrap:anywhere;margin:0 0 6px;color:#fff}
.pd-meta{display:flex;gap:9px;flex-wrap:wrap}
.pd-meta span{border:1px solid #ffffff38;background:#ffffff12;border-radius:30px;padding:1px 12px;font-size:12px}
.pd-description{color:#e0eaf8!important;margin:12px 0 0;max-width:690px;overflow-wrap:anywhere}
.pd-college-brand{width:165px;flex:none;display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;color:#fff;font-weight:700;font-size:12px}
.pd-college-brand img{display:block;width:100px;height:100px;object-fit:contain;object-position:center;background:transparent;border:0;clip-path:none}
.pd-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;margin-top:22px;align-items:start}
.pd-main,.pd-aside{display:grid;gap:20px;min-width:0}
.pd-section{background:#fff;border:1px solid var(--border);border-radius:17px;padding:26px;box-shadow:0 7px 25px #0c234209;min-width:0}
.pd-section h2{font-size:20px;line-height:1.5;color:var(--navy);margin:0 0 16px}
.pd-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.pd-section-head h2{margin:2px 0 0}
.pd-count{background:#eaf2ff;color:#245eb6;padding:3px 12px;border-radius:30px;font-size:12px;font-weight:800;white-space:nowrap}
.pd-sources{display:grid;gap:12px}
.pd-source{border:1px solid #dce5f2;border-radius:13px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}
.pd-source-info{display:flex;align-items:center;gap:12px;min-width:0}
.pd-source-symbol{width:43px;height:43px;flex:none;border-radius:12px;background:#eaf2ff;color:#245ce9;display:grid;place-items:center;font-weight:800;font-size:20px}
.pd-source h3{font-size:15px;margin:0 0 2px;overflow-wrap:anywhere;color:var(--navy)}
.pd-source p{font-size:12px;color:var(--muted);margin:0}
.pd-download-button{white-space:nowrap;text-align:center;flex:none}
.pd-note{font-size:12px;color:var(--muted)!important;margin:14px 0 0}
.pd-empty{background:#f5f8fc;padding:24px;border-radius:12px;color:var(--muted)}
.pd-prose{margin:0;color:#51637a;overflow-wrap:anywhere;white-space:normal}
.pd-facts{margin:0;display:grid;gap:12px}
.pd-facts>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding-bottom:10px}
.pd-facts>div:last-child{border:0;padding-bottom:0}
.pd-facts dt{color:var(--muted);font-size:13px}
.pd-facts dd{margin:0;font-size:13px;font-weight:700;overflow-wrap:anywhere;text-align:end}
.pd-resources{display:grid;gap:12px}
.pd-resources a{color:var(--blue);text-decoration:none;font-weight:700;font-size:13px}
html[dir="ltr"] .program-detail-v31{text-align:left}
@media(max-width:850px){.pd-layout{grid-template-columns:1fr}.pd-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pd-hero{padding:25px 20px;flex-direction:column-reverse;align-items:stretch}.pd-college-brand{width:auto;flex-direction:row;text-align:start}.pd-college-brand img{width:65px;height:65px}.pd-program-icon{width:65px;height:65px}.pd-section{padding:18px}.pd-source{align-items:stretch;flex-direction:column}.pd-download-button{width:100%}.pd-aside{grid-template-columns:1fr}}

/* V3.3 — Program detail polish; isolated from administration and downloads */
.program-detail-v31{max-width:1120px}
.program-detail-v31 .pd-hero{min-height:230px;gap:32px;padding:34px clamp(22px,3.5vw,44px)}
.program-detail-v31 .pd-college-brand{width:190px;gap:12px;flex-shrink:0}
.program-detail-v31 .pd-college-brand img{width:138px;height:138px;max-width:100%;object-fit:contain;object-position:center;overflow:visible}
.program-detail-v31 .pd-program-icon{width:92px;height:92px;flex-shrink:0;overflow:hidden}
.program-detail-v31 .pd-program-icon img{width:100%;height:100%;object-fit:contain}
.program-detail-v31 .pd-program-heading{gap:18px}
.program-detail-v31 .pd-section{box-shadow:0 9px 28px rgba(12,35,66,.07)}
.program-detail-v31 .pd-source{background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.program-detail-v31 .pd-source:hover{border-color:#a8c5fa;box-shadow:0 7px 20px rgba(37,99,235,.08);transform:translateY(-1px)}
.program-detail-v31 .pd-source-info{flex:1;min-width:0}
.program-detail-v31 .pd-source-info>div:last-child{min-width:0}
.program-detail-v31 .pd-source-symbol{background:#eaf2ff;color:#245ce9}
.program-detail-v31 .pd-source h3{line-height:1.5}
.program-detail-v31 .pd-download-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px}
.program-detail-v31 .pd-download-button:focus-visible,.program-detail-v31 a:focus-visible{outline:3px solid #91b8ff;outline-offset:3px}
.program-detail-v31 .pd-facts dd{max-width:65%}
@media(max-width:850px){
 .program-detail-v31 .pd-hero{gap:20px}
 .program-detail-v31 .pd-college-brand{width:140px}
 .program-detail-v31 .pd-college-brand img{width:110px;height:110px}
}
@media(max-width:620px){
 .program-detail-v31{width:min(100% - 28px,1120px);margin-top:22px}
 .program-detail-v31 .pd-hero{padding:24px 20px;min-height:0;flex-direction:column-reverse;align-items:stretch}
 .program-detail-v31 .pd-college-brand{width:100%;flex-direction:row;justify-content:flex-start;text-align:start}
 .program-detail-v31 .pd-college-brand img{width:76px;height:76px}
 .program-detail-v31 .pd-program-heading{gap:12px;align-items:center}
 .program-detail-v31 .pd-program-icon{width:68px;height:68px}
 .program-detail-v31 .pd-program-title h1{font-size:clamp(21px,6vw,29px)}
 .program-detail-v31 .pd-section{padding:18px 16px}
 .program-detail-v31 .pd-source{flex-direction:column;align-items:stretch;gap:14px}
 .program-detail-v31 .pd-download-button{width:100%}
 .program-detail-v31 .pd-section-head{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.program-detail-v31 .pd-source{transition:none}.program-detail-v31 .pd-source:hover{transform:none}}

/* V3.4 — Modern student program page (scoped, no admin changes) */
.program-detail-v31{width:min(1180px,calc(100% - 40px));max-width:1180px;margin:26px auto 76px}
.program-detail-v31 .pd-back{margin-bottom:20px;padding:8px 0;font-size:13px}
.program-detail-v31 .pd-hero{position:relative;isolation:isolate;overflow:hidden;min-height:290px;padding:44px clamp(24px,5vw,64px);border:1px solid #2c5481;border-radius:26px;background:radial-gradient(circle at 12% 15%,#2a619b 0%,transparent 38%),linear-gradient(120deg,#0a203b 0%,#123b6a 100%);box-shadow:0 24px 52px rgba(15,39,75,.16)}
.program-detail-v31 .pd-hero:before{content:'';position:absolute;z-index:-1;width:330px;height:330px;left:-115px;bottom:-220px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 95px rgba(255,255,255,.02)}
.program-detail-v31 .pd-identity{max-width:740px}
.program-detail-v31 .pd-kicker{display:inline-flex;align-items:center;color:#a9ceff;letter-spacing:.1px;font-size:13px}
.program-detail-v31 .pd-program-heading{margin:20px 0 15px;gap:22px}
.program-detail-v31 .pd-program-icon{width:100px;height:100px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.13);padding:8px;box-shadow:0 12px 26px #061b3650}
.program-detail-v31 .pd-program-icon .program-image{object-fit:contain;border-radius:12px}
.program-detail-v31 .pd-program-title h1{font-size:clamp(27px,3.2vw,40px);line-height:1.4;letter-spacing:-.5px}
.program-detail-v31 .pd-meta{gap:8px}
.program-detail-v31 .pd-meta span{background:#ffffff17;border-color:#ffffff35;padding:4px 14px;font-weight:700}
.program-detail-v31 .pd-description{font-size:14px;line-height:2;color:#d7e7fa!important}
.program-detail-v31 .pd-college-brand{width:170px;min-width:170px;padding:20px 12px;border:1px solid rgba(255,255,255,.15);border-radius:20px;background:rgba(255,255,255,.055);backdrop-filter:blur(6px);gap:10px}
.program-detail-v31 .pd-college-brand img{width:132px;height:132px;object-fit:contain;filter:drop-shadow(0 7px 12px #0003)}
.program-detail-v31 .pd-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:24px}
.program-detail-v31 .pd-main,.program-detail-v31 .pd-aside{gap:20px}
.program-detail-v31 .pd-section{padding:30px;border-radius:22px;border:1px solid #e0e8f4;box-shadow:0 12px 35px rgba(20,47,84,.045)}
.program-detail-v31 .pd-section h2{font-size:21px;letter-spacing:-.2px}
.program-detail-v31 .pd-section-head{padding-bottom:18px;border-bottom:1px solid #edf1f8;margin-bottom:20px}
.program-detail-v31 .pd-count{padding:5px 13px;background:#eaf2ff;color:#205bd4}
.program-detail-v31 .pd-sources{gap:14px}
.program-detail-v31 .pd-source{padding:19px 20px;border-radius:16px;background:linear-gradient(135deg,#fff,#fafcff);border:1px solid #dce6f5;min-height:92px;gap:18px}
.program-detail-v31 .pd-source:hover{border-color:#7daafa;box-shadow:0 12px 28px rgba(34,92,180,.1);transform:translateY(-2px)}
.program-detail-v31 .pd-source-symbol{width:52px;height:52px;border-radius:15px;background:#eaf2ff;color:#1c5ae6;font-size:22px}
.program-detail-v31 .pd-source h3{font-size:16px;margin-bottom:4px}
.program-detail-v31 .pd-source p{font-size:12px;color:#657a98}
.program-detail-v31 .pd-download-button{border-radius:12px;min-height:48px;padding:11px 20px;box-shadow:0 7px 15px #245ce922;font-size:13px}
.program-detail-v31 .pd-download-button:hover{filter:brightness(.94)}
.program-detail-v31 .pd-note{margin-top:18px;line-height:1.9}
.program-detail-v31 .pd-facts{gap:14px}
.program-detail-v31 .pd-facts>div{padding:0 0 13px}
.program-detail-v31 .pd-facts dt{color:#74869e}
.program-detail-v31 .pd-facts dd{color:#0d2b50}
.program-detail-v31 .pd-prose{line-height:2.1;color:#465d7b}
.program-detail-v31 .pd-resources a{display:inline-flex;align-items:center;gap:8px}
@media(max-width:900px){.program-detail-v31 .pd-layout{grid-template-columns:minmax(0,1fr)}.program-detail-v31 .pd-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.program-detail-v31{width:calc(100% - 28px);margin-top:18px}.program-detail-v31 .pd-hero{padding:25px 20px;border-radius:20px;gap:20px;flex-direction:column-reverse;align-items:stretch}.program-detail-v31 .pd-college-brand{width:100%;min-width:0;flex-direction:row;justify-content:flex-start;padding:10px 14px;border-radius:14px}.program-detail-v31 .pd-college-brand img{width:65px;height:65px}.program-detail-v31 .pd-program-heading{gap:12px;margin:15px 0}.program-detail-v31 .pd-program-icon{width:70px;height:70px;border-radius:15px}.program-detail-v31 .pd-program-title h1{font-size:clamp(22px,6vw,29px)}.program-detail-v31 .pd-layout{gap:15px;margin-top:16px}.program-detail-v31 .pd-section{padding:20px 16px;border-radius:17px}.program-detail-v31 .pd-section-head{align-items:flex-start}.program-detail-v31 .pd-source{padding:16px;align-items:stretch;flex-direction:column}.program-detail-v31 .pd-download-button{width:100%}.program-detail-v31 .pd-aside{grid-template-columns:1fr}}


/* V3.5 — Student catalog redesign; isolated from admin and detail pages */
.catalog-v35{margin:35px 0 80px;scroll-margin-top:24px}
.catalog-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:27px}
.catalog-kicker{font-size:12px;font-weight:800;color:#2563eb;letter-spacing:.3px}
.catalog-heading h2{font-size:clamp(24px,3vw,36px);line-height:1.45;letter-spacing:-.6px;color:#0b2341;margin:8px 0}
.catalog-heading p{font-size:14px;color:#71829a;margin:0}
.catalog-total{min-width:130px;border:1px solid #dce7f5;border-radius:18px;padding:13px 22px;background:#fff;text-align:center;box-shadow:0 9px 25px #102f4c08}
.catalog-total strong{display:block;font-size:30px;color:#245ce9;line-height:1.3}.catalog-total span{font-size:12px;color:#73849b}
.catalog-search{display:flex;align-items:stretch;gap:12px;background:#fff;border:1px solid #e0e9f5;border-radius:19px;padding:13px;margin-bottom:29px;box-shadow:0 12px 32px #15395e0b}
.catalog-search-field{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding-inline:15px;background:#f6f8fc;border:1px solid #e5ebf4;border-radius:12px}
.catalog-search-field span{font-size:26px;color:#3169d8}.catalog-search-field input{min-width:0;border:0;outline:none;background:transparent;padding:11px 0;box-shadow:none}
.catalog-search-field input:focus{outline:none}.catalog-search-field:focus-within{border-color:#8db6fa;box-shadow:0 0 0 3px #2563eb14}
.catalog-select{min-width:190px}.catalog-select select{height:100%;border-radius:12px;background:#f6f8fc;border-color:#e5ebf4}
.catalog-submit{border:0;background:#245ce9;color:white;border-radius:12px;padding:12px 21px;font:800 13px Cairo,Tahoma,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s}.catalog-submit:hover{background:#1749c7}.catalog-submit span{margin-inline-start:7px}
.catalog-reset{align-self:center;white-space:nowrap;color:#245ce9;font-size:12px;font-weight:700;text-decoration:none}
.catalog-results{display:flex;justify-content:space-between;align-items:center;margin:0 2px 18px;color:#0b2341;font-weight:800;font-size:17px}.catalog-results small{font-size:12px;font-weight:700;color:#72849c}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.software-card{min-width:0;display:flex;flex-direction:column;min-height:345px;background:#fff;border:1px solid #e0e8f3;border-radius:21px;padding:22px;box-shadow:0 10px 26px #12385c0a;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}
.software-card:hover{transform:translateY(-5px);border-color:#a9c6f8;box-shadow:0 22px 44px #153c6b1c}
.software-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:22px}
.software-icon{width:76px;height:76px;border-radius:18px;background:linear-gradient(135deg,#eaf2ff,#f5f8ff);border:1px solid #e2ecfc;display:grid;place-items:center;overflow:hidden;color:#1d5be3;flex-shrink:0}
.software-icon .program-image{width:100%;height:100%;object-fit:contain;padding:6px}.software-icon .program-initial{font-size:32px;font-weight:800}
.software-status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:4px 10px;background:#eaf8f1;color:#148052;font-size:11px;font-weight:800;white-space:nowrap}.software-status i{width:6px;height:6px;border-radius:50%;background:#17a66d}
.software-card-body{flex:1;min-width:0}.software-category{display:inline-block;border-radius:20px;padding:3px 11px;background:#edf3ff;color:#225bc2;font-size:11px;font-weight:800}
.software-card-body h3{font-size:19px;line-height:1.6;margin:13px 0 9px;overflow-wrap:anywhere}.software-card-body h3 a{text-decoration:none;color:#0b2341}.software-card-body h3 a:hover{color:#245ce9}
.software-card-body p{font-size:12px;line-height:1.95;color:#73849b;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.software-card-foot{border-top:1px solid #edf1f7;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.software-version{color:#8492a7;font-size:11px;overflow-wrap:anywhere;min-width:0;flex:1}.software-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;background:#245ce9;color:#fff;padding:10px 13px;border-radius:10px;font-size:12px;font-weight:800;transition:background .2s}.software-action:hover{background:#1647c1}.software-action span{font-size:15px}
.catalog-empty{text-align:center;background:#fff;border:1px dashed #b8cbe7;border-radius:18px;padding:35px}.catalog-empty p{color:#73849b}.catalog-empty a{color:#245ce9;font-weight:800}
.catalog-v35 a:focus-visible,.catalog-v35 button:focus-visible,.catalog-v35 select:focus-visible{outline:3px solid #94baff;outline-offset:3px}
html[dir=ltr] .catalog-v35{text-align:left}
@media(max-width:1000px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-search{flex-wrap:wrap}.catalog-search-field{flex-basis:100%}.catalog-select{flex:1}}
@media(max-width:650px){.catalog-heading{align-items:start}.catalog-total{min-width:90px;padding:10px}.catalog-total strong{font-size:24px}.catalog-heading h2{font-size:23px}.catalog-heading p{font-size:12px}.catalog-grid{grid-template-columns:1fr;gap:14px}.catalog-search{padding:10px}.catalog-select{min-width:0;flex:1}.catalog-submit{padding:12px}.software-card{min-height:300px;padding:19px}.software-card-foot{gap:8px}}
@media(max-width:380px){.catalog-heading{flex-direction:column}.catalog-total{align-self:stretch}.catalog-search{flex-direction:column}.catalog-search-field{flex-basis:auto}.catalog-select select{min-height:45px}}
@media(prefers-reduced-motion:reduce){.software-card,.catalog-submit,.software-action{transition:none}.software-card:hover{transform:none}}

/* V4: compact editorial software marketplace, catalog only */
.catalog-v4{margin:44px 0 85px;scroll-margin-top:20px;color:#10284a}
.catalog-v4-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
.catalog-v4-overline{display:inline-block;color:#2563eb;font-size:12px;font-weight:800;margin-bottom:8px}
.catalog-v4-head h2{margin:0 0 8px;font-size:clamp(25px,3vw,37px);line-height:1.35;letter-spacing:-.5px}
.catalog-v4-head p{margin:0;color:#71839a;font-size:13px;line-height:1.9}
.catalog-v4-count{display:flex;align-items:center;gap:12px;background:#e7efff;border:1px solid #d7e5ff;padding:15px 20px;border-radius:16px;white-space:nowrap}
.catalog-v4-count strong{font-size:32px;color:#245ce9;line-height:1}.catalog-v4-count span{font-size:12px;font-weight:700;color:#426187}
.catalog-v4-search{display:flex;gap:12px;background:white;border:1px solid #dce6f2;padding:12px;border-radius:18px;box-shadow:0 10px 30px #122b4d0a;margin-bottom:28px}
.catalog-v4-query{display:flex;align-items:center;flex:1;min-width:0;gap:9px;padding:0 14px;border-radius:11px;background:#f4f7fc;border:1px solid #e3eaf5}
.catalog-v4-query span{font-size:25px;color:#4778c9}.catalog-v4-query input{width:100%;min-width:0;border:0;background:transparent;outline:0;box-shadow:none;padding:13px 0}
.catalog-v4-category{min-width:195px}.catalog-v4-category select{height:100%;min-height:46px;background:#f4f7fc;border:1px solid #e3eaf5;border-radius:11px}
.catalog-v4-submit{border:0;border-radius:11px;background:#245ce9;color:#fff;font-weight:800;padding:0 26px;cursor:pointer}.catalog-v4-submit:hover,.catalog-v4-detail:hover{background:#153fb7}
.catalog-v4-clear{align-self:center;color:#245ce9;font-size:12px;font-weight:700;white-space:nowrap}
.catalog-v4-bar{display:flex;align-items:center;justify-content:space-between;margin:0 2px 17px}.catalog-v4-bar strong{font-size:17px}.catalog-v4-bar span{font-size:12px;color:#8291a6}
.catalog-v4-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.catalog-v4-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:278px;border:1px solid #dde7f3;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 9px 26px #102d4c09;transition:transform .2s,box-shadow .2s,border-color .2s}
.catalog-v4-card:before{content:'';position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#16375f,#3377ef)}
.catalog-v4-card:hover{transform:translateY(-4px);border-color:#a7c4f6;box-shadow:0 20px 40px #102d4c19}
.catalog-v4-cardtop{display:flex;align-items:flex-start;justify-content:space-between;padding:23px 21px 8px;gap:10px}
.catalog-v4-art{width:64px;height:64px;border-radius:15px;background:#eef4ff;border:1px solid #e0e9fa;display:grid;place-items:center;overflow:hidden;flex-shrink:0}
.catalog-v4-art .program-image{width:100%;height:100%;object-fit:contain;padding:6px}.catalog-v4-art .program-initial{font-size:28px;font-weight:900;color:#245ce9}
.catalog-v4-available{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:100px;background:#e9f8f0;color:#128052;font-size:10px;font-weight:800;white-space:nowrap}.catalog-v4-available span{font-size:9px}
.catalog-v4-cardmain{flex:1;padding:4px 21px 16px;min-width:0}.catalog-v4-tag{display:inline-block;font-size:10px;font-weight:800;color:#225bc2;background:#edf3ff;border-radius:7px;padding:5px 9px}
.catalog-v4-cardmain h3{font-size:17px;line-height:1.55;margin:10px 0 7px;overflow-wrap:anywhere}.catalog-v4-cardmain h3 a{color:#10284a;text-decoration:none}.catalog-v4-cardmain h3 a:hover{color:#245ce9}
.catalog-v4-cardmain p{color:#71839a;font-size:12px;line-height:1.85;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-v4-cardbottom{border-top:1px solid #edf1f7;background:#fbfcff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 20px}
.catalog-v4-meta{display:flex;flex-direction:column;gap:3px;min-width:0}.catalog-v4-meta small{font-size:10px;color:#8494a9}.catalog-v4-meta strong{font-size:11px;font-weight:700;color:#47607e;overflow-wrap:anywhere}
.catalog-v4-detail{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;background:#245ce9;color:#fff;text-decoration:none;padding:11px 13px;font-size:11px;font-weight:800;white-space:nowrap;transition:background .2s}
.catalog-v4-detail span{font-size:14px}.catalog-v4-empty{text-align:center;border:1px dashed #b6c9e5;background:#fff;border-radius:18px;padding:35px}.catalog-v4-empty p{color:#71839a}.catalog-v4-empty a{color:#245ce9;font-weight:800}
.catalog-v4 :is(a,button,input,select):focus-visible{outline:3px solid #91b6ff;outline-offset:2px}
@media(max-width:1000px){.catalog-v4-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-v4-search{flex-wrap:wrap}.catalog-v4-query{flex-basis:100%}.catalog-v4-category{flex:1}}
@media(max-width:650px){.catalog-v4{margin-top:28px}.catalog-v4-head{align-items:flex-start;gap:12px}.catalog-v4-count{padding:10px;gap:6px}.catalog-v4-count strong{font-size:25px}.catalog-v4-count span{max-width:55px;white-space:normal;line-height:1.4}.catalog-v4-grid{grid-template-columns:1fr;gap:13px}.catalog-v4-card{min-height:250px}.catalog-v4-search{padding:9px}.catalog-v4-category{min-width:0}.catalog-v4-submit{padding:0 17px;min-height:46px}}
@media(max-width:380px){.catalog-v4-head{flex-direction:column}.catalog-v4-search{flex-direction:column}.catalog-v4-query{flex-basis:auto}.catalog-v4-category select{width:100%}}
@media(prefers-reduced-motion:reduce){.catalog-v4-card{transition:none}.catalog-v4-card:hover{transform:none}}


/* V5 — Distinctive editorial software catalog; scoped to home catalog only */
.catalog-v5{margin:55px 0 100px;scroll-margin-top:25px;color:#10284a}
.cv5-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:30px}
.cv5-heading-copy{max-width:730px}
.cv5-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#2463e8;font-size:12px;font-weight:800;letter-spacing:.4px}
.cv5-eyebrow:before{content:"";width:23px;height:3px;border-radius:3px;background:#2563eb}
.cv5-heading h2{font-size:clamp(27px,3.5vw,43px);line-height:1.45;letter-spacing:-.7px;color:#0a2342;margin:9px 0}
.cv5-heading p{margin:0;font-size:14px;color:#71849e;line-height:2}
.cv5-stat{min-width:150px;padding:17px 24px;border-radius:20px;background:#0d2c51;color:#fff;text-align:center;box-shadow:0 14px 26px #0d2c5120}
.cv5-stat strong{display:block;font-size:38px;line-height:1.3;font-weight:800}
.cv5-stat span{font-size:11px;color:#c5d9f4}
.cv5-filter{display:flex;align-items:stretch;gap:12px;padding:13px;background:#fff;border:1px solid #e0e9f5;border-radius:19px;box-shadow:0 12px 30px #123c6510;margin-bottom:33px}
.cv5-search{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:#f4f7fc;border:1px solid #e4eaf3;border-radius:12px;padding-inline:16px}
.cv5-search span{font-size:28px;color:#2763c5;line-height:1}
.cv5-search input{border:0;background:transparent;min-width:0;outline:none;box-shadow:none;padding:12px 0}
.cv5-search:focus-within{border-color:#8fb7ff;box-shadow:0 0 0 3px #2563eb18}
.cv5-select{min-width:205px}
.cv5-select select{height:100%;min-height:49px;background:#f4f7fc;border:1px solid #e4eaf3;border-radius:12px}
.cv5-submit{border:0;border-radius:12px;padding:10px 24px;background:#2563eb;color:white;font:800 13px Cairo,Tahoma,Arial,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s}
.cv5-submit:hover{background:#1749bd}
.cv5-submit span{margin-inline-start:10px}
.cv5-reset{align-self:center;color:#2563eb;font-size:12px;font-weight:800;white-space:nowrap}
.cv5-results{display:flex;align-items:center;justify-content:space-between;margin:0 2px 20px}
.cv5-results>div{display:flex;align-items:center;gap:10px}
.cv5-results strong{font-size:18px;color:#10284a}
.cv5-results>span{font-size:12px;color:#7c8da4}
.cv5-results-mark{width:8px;height:25px;border-radius:8px;background:#2563eb}
.cv5-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.cv5-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:22px;border:1px solid #dfe7f2;background:#fff;box-shadow:0 10px 30px #0e34590d;transition:transform .22s,box-shadow .22s,border-color .22s}
.cv5-card:hover{transform:translateY(-6px);border-color:#a8c7ff;box-shadow:0 22px 44px #123c6522}
.cv5-card-visual{position:relative;display:flex;align-items:center;justify-content:center;height:168px;background:radial-gradient(circle at 80% 20%,#e5f1ff 0%,transparent 40%),linear-gradient(135deg,#f0f5fc,#e8effa);border-bottom:1px solid #e0eaf7;overflow:hidden}
.cv5-card-visual:before{content:"";position:absolute;width:205px;height:205px;border:1px solid #cddff6;border-radius:50%;left:-65px;top:-110px;box-shadow:0 0 0 30px #ffffff50,0 0 0 65px #ffffff30}
.cv5-card-index{position:absolute;top:14px;inset-inline-start:18px;font-size:12px;font-weight:800;color:#8199bb;letter-spacing:1px}
.cv5-art{position:relative;z-index:1;width:94px;height:94px;display:grid;place-items:center;overflow:hidden;border-radius:24px;background:#fff;border:1px solid #dce6f6;box-shadow:0 12px 25px #173b6122}
.cv5-art .program-image{width:100%;height:100%;object-fit:contain;padding:10px}
.cv5-art .program-initial{font-size:43px;font-weight:900;color:#205bca}
.cv5-visual-caption{position:absolute;bottom:11px;inset-inline-end:16px;font-size:9px;font-weight:800;color:#91a6c2;letter-spacing:.4px}
.cv5-card-content{display:flex;flex:1;flex-direction:column;min-width:0;padding:22px 22px 18px}
.cv5-labels{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.cv5-category{font-size:10px;font-weight:800;color:#215bc2;background:#edf3ff;border-radius:7px;padding:5px 9px}
.cv5-status{font-size:10px;font-weight:800;color:#138057;white-space:nowrap}
.cv5-status span{font-size:9px;margin-inline-end:3px}
.cv5-card h3{font-size:18px;line-height:1.65;margin:16px 0 8px;overflow-wrap:anywhere}
.cv5-card h3 a{text-decoration:none;color:#0a2342}
.cv5-card h3 a:hover{color:#245ce9}
.cv5-card-content>p{font-size:12px;color:#71849e;line-height:1.95;margin:0 0 23px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cv5-card-footer{margin-top:auto;padding-top:17px;border-top:1px solid #e9eef6;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cv5-version{display:flex;flex-direction:column;min-width:0}
.cv5-version small{font-size:9px;color:#92a0b3;font-weight:800}
.cv5-version strong{font-size:11px;color:#526782;overflow-wrap:anywhere}
.cv5-open{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 13px;background:#2563eb;border-radius:11px;color:#fff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap;transition:background .2s}
.cv5-open:hover{background:#1749bd}
.cv5-open span{font-size:17px}
.cv5-empty{padding:42px;text-align:center;border:1px dashed #b8cbe7;background:#fff;border-radius:20px}
.cv5-empty p{color:#71849e}.cv5-empty a{color:#2563eb;font-weight:800}
.catalog-v5 :is(a,button,input,select):focus-visible{outline:3px solid #8bb4ff;outline-offset:3px}
html[dir=ltr] .catalog-v5{text-align:left}
@media(max-width:1000px){.cv5-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cv5-filter{flex-wrap:wrap}.cv5-search{flex-basis:100%}.cv5-select{flex:1}}
@media(max-width:650px){.catalog-v5{margin:34px 0 65px}.cv5-heading{align-items:flex-start;gap:12px}.cv5-heading h2{font-size:25px}.cv5-heading p{font-size:12px}.cv5-stat{min-width:90px;padding:10px 12px;border-radius:14px}.cv5-stat strong{font-size:26px}.cv5-stat span{font-size:9px}.cv5-grid{grid-template-columns:1fr;gap:16px}.cv5-filter{padding:10px}.cv5-select{min-width:0}.cv5-submit{min-height:48px;padding:10px 16px}.cv5-card-visual{height:155px}.cv5-card-content{padding:19px}}
@media(max-width:390px){.cv5-heading{flex-direction:column}.cv5-stat{align-self:stretch}.cv5-filter{flex-direction:column}.cv5-search{flex-basis:auto}.cv5-select select{width:100%}}
@media(prefers-reduced-motion:reduce){.cv5-card,.cv5-submit,.cv5-open{transition:none}.cv5-card:hover{transform:none}}


/* V6 — Premium software catalog. Scoped: administration and details remain unchanged. */
.catalog-v6{--v6-ink:#102747;--v6-accent:#2563eb;--v6-line:#dfe8f5;margin:64px 0 100px;scroll-margin-top:22px;color:var(--v6-ink)}
.catalog-v6 .cv6-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.catalog-v6 .cv6-heading-copy{max-width:700px}
.catalog-v6 .cv6-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.5px}
.catalog-v6 .cv6-eyebrow:before{content:'';height:3px;width:26px;border-radius:10px;background:#2563eb}
.catalog-v6 .cv6-heading h2{font-size:clamp(27px,3.5vw,42px);letter-spacing:-.8px;line-height:1.4;margin:8px 0;color:#102747}
.catalog-v6 .cv6-heading p{font-size:14px;color:#71839c;line-height:1.95;margin:0}
.catalog-v6 .cv6-stat{display:grid;justify-items:center;align-content:center;min-width:145px;min-height:108px;padding:15px 22px;border-radius:20px;background:linear-gradient(145deg,#0d2a4d,#1a4e87);color:#fff;box-shadow:0 14px 28px #0e376324}
.catalog-v6 .cv6-stat strong{font-size:37px;line-height:1.25}.catalog-v6 .cv6-stat span{font-size:11px;color:#d1e2f7}
.catalog-v6 .cv6-filter{display:flex;align-items:stretch;gap:12px;padding:12px;border:1px solid var(--v6-line);border-radius:19px;background:#fff;box-shadow:0 10px 35px #163d6310;margin-bottom:30px}
.catalog-v6 .cv6-search{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding-inline:17px;background:#f4f7fc;border:1px solid #e5ecf6;border-radius:12px}
.catalog-v6 .cv6-search span{font-size:27px;color:#2563eb;line-height:1}
.catalog-v6 .cv6-search input{min-width:0;border:0;background:transparent;box-shadow:none;outline:0;padding:12px 0}
.catalog-v6 .cv6-search:focus-within{border-color:#8db6fa;box-shadow:0 0 0 3px #2563eb18}
.catalog-v6 .cv6-select{min-width:205px}.catalog-v6 .cv6-select select{height:100%;min-height:49px;background:#f4f7fc;border:1px solid #e5ecf6;border-radius:12px}
.catalog-v6 .cv6-submit{background:#2563eb;color:#fff;border:0;border-radius:12px;padding:10px 23px;font:800 13px Cairo,Tahoma,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.catalog-v6 .cv6-submit:hover{background:#1749bd}.catalog-v6 .cv6-submit span{margin-inline-start:8px}.catalog-v6 .cv6-reset{align-self:center;font-size:12px;color:#2563eb;font-weight:800;white-space:nowrap}
.catalog-v6 .cv6-results{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 3px 19px}
.catalog-v6 .cv6-results>div{display:flex;align-items:center;gap:10px}.catalog-v6 .cv6-results strong{font-size:18px}.catalog-v6 .cv6-results>span{font-size:12px;color:#8292a9}
.catalog-v6 .cv6-results-mark{width:5px;height:23px;background:#2563eb;border-radius:8px}
.catalog-v6 .cv6-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.catalog-v6 .cv6-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #dfe8f5;border-radius:22px;box-shadow:0 9px 26px #17395a0d;transition:transform .22s,border-color .22s,box-shadow .22s}
.catalog-v6 .cv6-card:hover{transform:translateY(-5px);border-color:#9dc0fc;box-shadow:0 23px 45px #17395a20}
.catalog-v6 .cv6-card-visual{position:relative;height:172px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 80% 20%,#dceaff,transparent 48%),linear-gradient(135deg,#f4f8fe,#e8f0fb);border-bottom:1px solid #e2ebf7}
.catalog-v6 .cv6-card-visual:before{content:'';position:absolute;width:205px;height:205px;top:-118px;inset-inline-end:-80px;border:1px solid #c6daf6;border-radius:50%;box-shadow:0 0 0 31px #ffffff66,0 0 0 68px #ffffff33}
.catalog-v6 .cv6-card-index{position:absolute;top:15px;inset-inline-start:18px;font-size:12px;letter-spacing:1px;color:#7b97bb;font-weight:800}
.catalog-v6 .cv6-art{position:relative;z-index:1;display:grid;place-items:center;width:100px;height:100px;background:#fff;border:1px solid #dbe7f7;border-radius:25px;overflow:hidden;box-shadow:0 14px 26px #153b6424}
.catalog-v6 .cv6-art .program-image{display:block;width:100%;height:100%;object-fit:contain;padding:10px}
.catalog-v6 .cv6-art .program-initial{font-size:42px;font-weight:900;color:#215bd0}
.catalog-v6 .cv6-visual-caption{position:absolute;bottom:12px;inset-inline-end:16px;color:#8199b8;font-size:9px;font-weight:800;letter-spacing:.2px}
.catalog-v6 .cv6-card-content{display:flex;flex:1;flex-direction:column;min-width:0;padding:21px 21px 18px}
.catalog-v6 .cv6-labels{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.catalog-v6 .cv6-category{display:inline-block;background:#eaf2ff;color:#1d59c5;border-radius:8px;padding:5px 9px;font-size:10px;font-weight:800}
.catalog-v6 .cv6-status{font-size:10px;color:#08794d;font-weight:800;white-space:nowrap}.catalog-v6 .cv6-status span{font-size:9px;margin-inline-end:3px}
.catalog-v6 .cv6-card h3{font-size:18px;line-height:1.65;margin:16px 0 8px;overflow-wrap:anywhere}.catalog-v6 .cv6-card h3 a{color:#0b2546;text-decoration:none}.catalog-v6 .cv6-card h3 a:hover{color:#2563eb}
.catalog-v6 .cv6-card-content>p{font-size:12px;line-height:1.95;color:#73849c;margin:0 0 24px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-v6 .cv6-card-footer{margin-top:auto;border-top:1px solid #eaf0f8;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.catalog-v6 .cv6-version{display:flex;flex-direction:column;min-width:0}.catalog-v6 .cv6-version small{font-size:10px;color:#8b9ab0;font-weight:700}.catalog-v6 .cv6-version strong{font-size:11px;color:#506681;overflow-wrap:anywhere}
.catalog-v6 .cv6-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 13px;background:#2563eb;color:#fff;border-radius:11px;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}.catalog-v6 .cv6-open:hover{background:#1749bd}.catalog-v6 .cv6-open span{font-size:16px}
.catalog-v6 .cv6-empty{text-align:center;padding:40px;border:1px dashed #b9cce6;background:#fff;border-radius:18px}.catalog-v6 .cv6-empty p{color:#73849c}.catalog-v6 .cv6-empty a{color:#2563eb;font-weight:800}
.catalog-v6 :is(a,button,input,select):focus-visible{outline:3px solid #8eb8ff;outline-offset:3px}
html[dir=ltr] .catalog-v6{text-align:left}
@media(max-width:1000px){.catalog-v6 .cv6-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-v6 .cv6-filter{flex-wrap:wrap}.catalog-v6 .cv6-search{flex-basis:100%}.catalog-v6 .cv6-select{flex:1}}
@media(max-width:650px){.catalog-v6{margin:36px 0 65px}.catalog-v6 .cv6-heading{align-items:start;gap:12px}.catalog-v6 .cv6-heading h2{font-size:25px}.catalog-v6 .cv6-heading p{font-size:12px}.catalog-v6 .cv6-stat{min-width:90px;min-height:85px;padding:10px}.catalog-v6 .cv6-stat strong{font-size:26px}.catalog-v6 .cv6-stat span{font-size:9px}.catalog-v6 .cv6-grid{grid-template-columns:1fr;gap:16px}.catalog-v6 .cv6-filter{padding:10px}.catalog-v6 .cv6-select{min-width:0}.catalog-v6 .cv6-submit{min-height:47px}.catalog-v6 .cv6-card-visual{height:150px}.catalog-v6 .cv6-card-content{padding:19px}}
@media(max-width:390px){.catalog-v6 .cv6-heading{flex-direction:column}.catalog-v6 .cv6-stat{align-self:stretch}.catalog-v6 .cv6-filter{flex-direction:column}.catalog-v6 .cv6-search{flex-basis:auto}.catalog-v6 .cv6-select select{width:100%}.catalog-v6 .cv6-card-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.catalog-v6 .cv6-card{transition:none}.catalog-v6 .cv6-card:hover{transform:none}}


/* V7: redesigned software catalog — no impact on admin/detail pages */
.catalog-v7{margin:52px 0 95px;scroll-margin-top:24px;color:#10243d}
.v7-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.v7-kicker{display:inline-block;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.2px;margin-bottom:10px}
.v7-intro h2{font-size:clamp(27px,3.5vw,43px);line-height:1.4;margin:0 0 10px;letter-spacing:-.6px;color:#0c2442}
.v7-intro p{font-size:14px;color:#697e98;margin:0;line-height:1.9}
.v7-total{display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;min-width:145px;padding:18px 20px;background:#0b2a4c;color:#fff;border-radius:19px;box-shadow:0 12px 30px #0b2a4c20}
.v7-total strong{font-size:38px;line-height:1.2}.v7-total span{font-size:11px;color:#c6d9ed}
.v7-filter{display:flex;align-items:stretch;gap:12px;padding:12px;background:white;border:1px solid #dfe8f3;border-radius:18px;box-shadow:0 12px 32px #102c4d0b;margin-bottom:35px}
.v7-search{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0 15px;border-radius:11px;background:#f3f6fa;border:1px solid #e3eaf3}
.v7-search span{font-size:27px;color:#2563eb}.v7-search input{border:0;background:transparent;min-width:0;outline:0;padding:11px 0;box-shadow:none}
.v7-select{min-width:205px}.v7-select select{height:100%;min-height:48px;border:1px solid #e3eaf3;background:#f3f6fa;border-radius:11px}
.v7-submit{border:0;border-radius:11px;background:#2563eb;color:#fff;padding:10px 28px;font:800 13px Cairo,Tahoma,sans-serif;cursor:pointer}.v7-submit:hover,.v7-action:hover{background:#1549c1}.v7-submit span{margin-inline-start:9px}.v7-reset{align-self:center;color:#2563eb;font-size:12px;font-weight:800}
.v7-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.v7-section-title>div{display:flex;align-items:center;gap:10px}.v7-section-title h3{margin:0;font-size:19px}.v7-section-title>span{font-size:12px;color:#7a8da6}.v7-dot{width:7px;height:24px;border-radius:8px;background:#2563eb}
.v7-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.v7-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:315px;border-radius:20px;border:1px solid #e0e7f1;background:#fff;box-shadow:0 9px 26px #122f500b;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.v7-card:hover{transform:translateY(-5px);border-color:#a4c2f3;box-shadow:0 22px 45px #123c6520}
.v7-card-top{display:flex;align-items:start;justify-content:space-between;padding:23px 23px 0;gap:12px}
.v7-icon{display:grid;place-items:center;width:76px;height:76px;border:1px solid #dfe9f9;border-radius:19px;background:#eff5ff;overflow:hidden;flex-shrink:0}
.v7-icon .program-image{width:100%;height:100%;object-fit:contain;padding:8px}.v7-icon .program-initial{font-size:32px;font-weight:900;color:#2563eb}
.v7-number{font-size:12px;font-weight:800;color:#9aabc1;letter-spacing:1px}
.v7-card-body{flex:1;padding:20px 23px 18px;min-width:0}.v7-category{display:inline-flex;background:#edf3ff;color:#255fc6;border-radius:7px;padding:4px 10px;font-size:11px;font-weight:800}
.v7-card-body h3{font-size:18px;line-height:1.6;margin:12px 0 8px;overflow-wrap:anywhere}.v7-card-body h3 a{color:#102b4c;text-decoration:none}.v7-card-body h3 a:hover{color:#2563eb}
.v7-card-body p{font-size:12px;line-height:1.9;color:#75869e;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.v7-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 23px;background:#f8faff;border-top:1px solid #edf1f7}
.v7-meta{display:flex;flex-direction:column;gap:6px;min-width:0}.v7-meta small{font-size:10px;color:#7d8ea5;overflow-wrap:anywhere}.v7-available{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#128052}.v7-available i{width:7px;height:7px;border-radius:50%;background:#16a46c}
.v7-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;text-decoration:none;border-radius:10px;padding:11px 13px;background:#2563eb;color:#fff;font-size:11px;font-weight:800;transition:background .2s}
.v7-empty{padding:40px;text-align:center;background:#fff;border:1px dashed #bacbe2;border-radius:18px}.v7-empty p{color:#73849b}.v7-empty a{color:#2563eb;font-weight:800}
.catalog-v7 :is(a,button,input,select):focus-visible{outline:3px solid #8eb5fc;outline-offset:3px}
html[dir=ltr] .catalog-v7{text-align:left}
@media(max-width:1000px){.v7-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v7-filter{flex-wrap:wrap}.v7-search{flex-basis:100%}.v7-select{flex:1}}
@media(max-width:650px){.catalog-v7{margin:35px 0 65px}.v7-intro{align-items:start;gap:12px}.v7-intro h2{font-size:25px}.v7-intro p{font-size:12px}.v7-total{min-width:95px;padding:12px}.v7-total strong{font-size:28px}.v7-total span{font-size:9px}.v7-grid{grid-template-columns:1fr;gap:15px}.v7-filter{padding:10px}.v7-select{min-width:0}.v7-submit{min-height:48px}.v7-card{min-height:290px}.v7-card-bottom{flex-wrap:wrap}}
@media(max-width:390px){.v7-intro{flex-direction:column}.v7-total{align-self:stretch}.v7-filter{flex-direction:column}.v7-search{flex-basis:auto}.v7-select select{width:100%}}
@media(prefers-reduced-motion:reduce){.v7-card{transition:none}.v7-card:hover{transform:none}}

/* V8 — Logo-first presentation. Scoped to the student catalog. */
.catalog-v7 .v7-card-top{padding-top:26px}
.catalog-v7 .v7-icon{width:100px;height:100px;border-radius:23px;background:#fff;border:1px solid #e3eaf5;box-shadow:0 10px 24px rgba(16,43,76,.09);overflow:hidden}
.catalog-v7 .v7-icon .program-image{width:100%;height:100%;object-fit:contain;object-position:center;padding:14px;display:block}
.catalog-v7 .v7-icon .v8-brand-image{padding:19px}
.catalog-v7 .v7-icon .v8-fallback{width:100%;height:100%;place-items:center}
.catalog-v7 .v7-card{min-height:340px}
.catalog-v7 .v7-card:hover .v7-icon{border-color:#b6cff9;box-shadow:0 14px 30px rgba(37,99,235,.13)}
@media(max-width:650px){.catalog-v7 .v7-icon{width:86px;height:86px}.catalog-v7 .v7-card{min-height:300px}}

/* V10: sorting, dashboard search, keyboard and mobile usability */
.v7-filter{flex-wrap:wrap}.v10-sort{flex:1 1 180px;min-width:160px}.v10-sort select{width:100%;min-height:49px;border:1px solid #d9e4f1;border-radius:12px;background:#fff;color:#183353;padding:10px 13px;font-family:inherit;cursor:pointer}
.v10-admin-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 18px}.v10-admin-search{display:flex;align-items:center;gap:10px;flex:1;max-width:490px;background:#fff;border:1px solid #d9e4f1;border-radius:12px;padding-inline:13px}.v10-admin-search span{font-size:22px;color:#54759e}.v10-admin-search input{border:0;outline:0;box-shadow:none;min-width:0;background:transparent}.v10-admin-search:focus-within{outline:2px solid #9ec1ff}
.v10-program-row[hidden]{display:none!important}#v10-no-results[hidden]{display:none!important}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #79aafa;outline-offset:2px}
@media(max-width:760px){.v10-sort{flex:1 1 100%}.v10-admin-search{max-width:none;flex-basis:100%}.v7-filter .v7-submit{min-height:45px}}
