/* Shared presentation for existing Class / Course / University cards. */
body.sop-global-shell-enabled #main .cards>.sop-unified-card{
 --sop-card-color:#132b49;display:flex!important;flex-direction:column!important;position:relative;min-width:0!important;padding:0 22px 20px!important;border:1px solid #d2dee8!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important;gap:0!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-unified-card>.sop-card-band{height:84px;flex:0 0 84px;margin:0 -22px 28px;background:color-mix(in srgb,var(--sop-card-color) 12%,white);position:relative}
body.sop-global-shell-enabled #main .sop-card-mark{position:absolute;left:14px;bottom:-20px;width:42px;height:42px;border-radius:50%;background:var(--sop-card-color);color:white;border:3px solid white;display:grid;place-items:center}
body.sop-global-shell-enabled #main .sop-card-mark svg{width:24px;height:24px}
body.sop-global-shell-enabled #main .sop-card-kind{display:block;color:#132b49;font-size:11px;line-height:1.3;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px}
body.sop-global-shell-enabled #main .sop-unified-card h3{font:800 20px/1.25 system-ui,sans-serif!important;letter-spacing:0!important;margin:0 0 16px!important;overflow-wrap:anywhere;min-height:3.75em}
body.sop-global-shell-enabled #main .sop-unified-card h3 a{color:#132b49!important;text-decoration:none!important}
body.sop-global-shell-enabled #main .sop-unified-card a:focus-visible,body.sop-global-shell-enabled #main .sop-unified-card button:focus-visible{outline:3px solid #176e95;outline-offset:3px}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-meta{margin:0 0 14px!important;line-height:1.5}
body.sop-global-shell-enabled #main .sop-unified-card>.eyebrow{margin:0 0 10px!important}
body.sop-global-shell-enabled #main .sop-unified-card>.sop-course-level-badge{position:static!important;align-self:flex-start;margin:0 0 10px!important;max-width:100%;border-radius:6px;padding:5px 8px!important;display:inline-flex!important;gap:6px;line-height:1.3}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-type{display:flex!important;align-items:center;flex-wrap:wrap;gap:5px!important;line-height:1.5!important;padding:5px 8px!important;border-radius:6px!important;align-self:flex-start;margin:0 0 10px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-card-actions,
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-actions{margin-top:auto!important;padding-top:14px!important;border-top:1px solid #d2dee8!important;gap:8px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-card-actions>*{flex:1;min-width:0;justify-content:center;min-height:40px!important;border-radius:7px!important;font-size:13px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-media{height:76px!important;padding:8px!important;background:#fff!important;margin:0 0 12px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-media img{max-height:60px!important;padding:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-media>svg{display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-body{padding:0!important;gap:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-kind{display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-facts{margin-bottom:16px!important}
body.sop-global-shell-enabled #main .sop-unified-card>.sopv339-course-cover{display:none!important}
@media(max-width:650px){body.sop-global-shell-enabled #main .cards:has(>.sop-unified-card){grid-template-columns:minmax(0,1fr)!important}body.sop-global-shell-enabled #main .sop-unified-card h3{min-height:0;font-size:19px!important}}
/* PDF legend: thematic palette belongs to the area, never to degree level. */
body.sop-global-shell-enabled #main .cards>.sop-unified-card{border-color:#CAD5DF!important;color:#132B49!important;font-size:14px;--sop-sector-level:var(--sop-card-color)}
body.sop-global-shell-enabled #main .sop-unified-card h3{font-size:18px!important;font-weight:700!important;line-height:1.3!important;min-height:3.9em}
body.sop-global-shell-enabled #main .sop-unified-card>.eyebrow:not(.sopv300-type):not(.sop-course-level-badge){display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card>.sopv300-type,
body.sop-global-shell-enabled #main .sop-unified-card>.sop-course-level-badge{background:var(--sop-card-color)!important;color:#fff!important;font-size:11px!important;font-weight:700!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopv311-level-badge{background:transparent!important;color:#fff!important;border-radius:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-area,
body.sop-global-shell-enabled #main .sop-unified-card .sop-card-area-label{display:flex!important;align-items:center;gap:7px;color:#132B49!important;margin:0 0 12px!important;line-height:1.4!important;font-size:12px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-area svg,
body.sop-global-shell-enabled #main .sop-unified-card .sop-card-area-label svg{display:block;width:24px!important;height:24px!important;flex-shrink:0;box-sizing:border-box;padding:4px;background:var(--sop-card-color);color:#fff!important;stroke:currentColor!important;border-radius:5px}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-area span{border-bottom:0!important;padding:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-meta svg,
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-fact svg{color:#132B49!important;stroke:currentColor!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-discover,
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-discover{background:#006A75!important;border-color:#006A75!important;color:#fff!important}
body.sop-global-shell-enabled #main .sop-unified-card .sop-course-save,
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-save{background:#fff!important;border:1px solid #CAD5DF!important;color:#132B49!important}
body.sop-global-shell-enabled #main .sopv240-area svg{color:#fff!important;stroke:currentColor!important;background:var(--area)!important;stroke-width:2!important}
body.sop-global-shell-enabled #main .sopv240-area{box-shadow:none!important;color:#132B49!important}
body.sop-global-shell-enabled.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card{background:#132B49!important;box-shadow:none!important}
body.sop-global-shell-enabled.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card>b{color:#132B49!important}
body.sop-global-shell-enabled.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card .sop-degree-icon{background:#132B49!important;color:#fff!important}
@media(max-width:650px){body.sop-global-shell-enabled #main .sop-unified-card h3{min-height:0!important;font-size:18px!important}}
/* Approved readability corrections and infographic in the existing Professioni intro. */
body.sop-global-shell-enabled #main .sop-unified-card>.sop-card-band{height:54px;flex-basis:54px;margin-bottom:28px}
body.sop-global-shell-enabled #main .sop-unified-card h3{min-height:2.6em!important;margin-bottom:12px!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-meta-row{font-size:14px!important;color:#132B49!important;align-items:flex-start!important;gap:6px!important;flex-wrap:wrap}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-meta-row>svg{margin-top:2px}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-classes{font-size:13px!important;gap:6px!important;align-items:center;flex-wrap:wrap}
body.sop-global-shell-enabled #main .sop-card-field-label{font-weight:650;color:#132B49;line-height:1.5}
body.sop-global-shell-enabled #main .sop-unified-card .sopv300-classes>svg{width:18px!important;height:18px!important;color:#132B49}
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.bachelor,
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.master,
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.single{background:#132B49!important}
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.bachelor>b,
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.master>b,
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sop-degree-levels>.sop-degree-card.single>b{color:#132B49!important;white-space:normal!important;text-align:center}
body.sop-global-shell-enabled #main .sop-path-intro{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
body.sop-global-shell-enabled #main .sop-path-intro>div{min-width:0;padding:24px!important;box-shadow:none!important;border:1px solid #CAD5DF!important;border-radius:16px!important;background:#fff!important}
body.sop-global-shell-enabled #main .sop-path-intro h2{font-size:26px!important;margin:0 0 14px!important;line-height:1.2}
body.sop-global-shell-enabled #main .sop-path-infographic{display:block!important}
body.sop-global-shell-enabled #main .sop-path-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.sop-global-shell-enabled #main .sop-path-steps li{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#F6F9FC;border:1px solid #CAD5DF;border-radius:12px;min-width:0}
body.sop-global-shell-enabled #main .sop-path-symbol{display:grid;place-items:center;background:#132B49;color:#fff;width:40px;height:40px;flex:0 0 40px;border-radius:9px}
body.sop-global-shell-enabled #main .sop-path-symbol svg{width:24px;height:24px;stroke-width:2}
body.sop-global-shell-enabled #main .sop-path-steps strong{display:block;font-size:15px;line-height:1.3;letter-spacing:0;margin:0 0 7px;color:#132B49}
body.sop-global-shell-enabled #main .sop-path-steps li div>span{display:block;font-size:13px;line-height:1.5;color:#132B49;background:none;padding:0;border-radius:0}
body.sop-global-shell-enabled #main .sop-path-reading{font-size:15px!important;line-height:1.5!important;margin:16px 0 8px!important}
body.sop-global-shell-enabled #main .sop-path-key{font-size:13px!important;line-height:1.5!important;margin:0 0 16px!important;color:#132B49}
@media(max-width:1000px){body.sop-global-shell-enabled #main .sop-path-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){body.sop-global-shell-enabled #main .sop-path-steps{grid-template-columns:minmax(0,1fr)}body.sop-global-shell-enabled #main .sop-path-intro>div{padding:18px!important}body.sop-global-shell-enabled #main .sop-unified-card h3{min-height:0!important}}
body.sop-global-shell-enabled #main .sop-path-steps li{position:relative}
@media(min-width:1001px){body.sop-global-shell-enabled #main .sop-path-steps li:not(:last-child)::after{content:'↔';position:absolute;right:-13px;top:24px;color:#132B49;font-size:17px;line-height:1;background:#fff;z-index:1}}
/* Professioni reuses the approved area selector vocabulary and visual registry. */
body.sop-global-shell-enabled #main .sop-profession-area-tabs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin:16px 0 24px!important}
body.sop-global-shell-enabled #main .sop-profession-area-tabs>.sop-profession-area-tab{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;min-height:54px!important;padding:10px!important;border:1px solid color-mix(in srgb,var(--area) 45%,white)!important;border-radius:11px!important;background:color-mix(in srgb,var(--area) 12%,white)!important;color:#132B49!important;text-decoration:none!important;box-shadow:none!important;font:700 12px/1.35 system-ui,sans-serif!important}
body.sop-global-shell-enabled #main .sop-profession-area-tab>svg{display:block;width:32px!important;height:32px!important;flex:0 0 32px;box-sizing:border-box;padding:6px;border-radius:7px;background:var(--area)!important;color:#fff!important;stroke:currentColor!important;stroke-width:2!important}
body.sop-global-shell-enabled #main .sop-profession-area-tab>span{background:none!important;color:#132B49!important;font:inherit!important;padding:0!important;overflow-wrap:anywhere}
body.sop-global-shell-enabled #main .sop-profession-area-tab[aria-current=page]{text-decoration:underline!important;text-underline-offset:4px}
body.sop-global-shell-enabled #main .sop-profession-area-tab:focus-visible{outline:3px solid #006A75;outline-offset:3px}
@media(max-width:1000px){body.sop-global-shell-enabled #main .sop-profession-area-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:550px){body.sop-global-shell-enabled #main .sop-profession-area-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Profession cards: retain native content, controls and canonical links. */
body.sop-global-shell-enabled #main .sop-unified-card>.profession-card-cover{display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-body{padding:0!important;display:flex!important;flex-direction:column!important;flex:1;gap:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-kicker{display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-area-label{position:static!important;display:flex!important;align-items:center;gap:7px;background:none!important;color:#132B49!important;padding:0!important;margin:0 0 12px!important;font:500 12px/1.4 system-ui,sans-serif!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-area-label svg{width:24px;height:24px;flex:0 0 24px;box-sizing:border-box;padding:4px;background:var(--sop-card-color);color:#fff!important;border-radius:5px}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-actions{margin-top:auto!important;padding-top:14px!important;border-top:1px solid #CAD5DF;display:flex;gap:8px}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-actions>a{background:#006A75!important;color:#fff!important;border-color:#006A75!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-actions>button{background:#fff!important;color:#132B49!important;border:1px solid #CAD5DF!important}

/* Shared layout: Courses, Professions and Universities. */
body.sop-global-shell-enabled #main:has(.sop-unified-card){width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
body.sop-global-shell-enabled #main:has(.sop-unified-card)>:is(.sopv240-areas,.sop-degree-levels,.sopv240-levels,.sopv240-hero,.sopv336-search-shell,.sop-unified-catalog,.profession-intro,.hero,.page-cover){width:100%!important;max-width:100%!important;box-sizing:border-box;margin-left:0!important;margin-right:0!important}
body.sop-global-shell-enabled.sop-visual-courses-336.sop-visual-context-courses #main>.sopv240-areas{padding-bottom:0!important;margin-bottom:28px!important}
body.sop-global-shell-enabled #main .sop-unified-catalog>h2{font:700 32px/1.2 system-ui,sans-serif!important;color:#132B49!important;margin:0 0 20px!important}
body.sop-global-shell-enabled #main .sop-unified-catalog>.cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area{display:flex!important;align-items:center!important;gap:8px!important;min-height:54px!important;padding:10px!important;border:1px solid color-mix(in srgb,var(--area) 45%,white)!important;border-radius:11px!important;background:color-mix(in srgb,var(--area) 12%,white)!important;font:700 12px/1.35 system-ui,sans-serif!important}
body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area:before{display:none!important}
body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area svg{width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px;padding:6px!important;box-sizing:border-box;border-radius:7px}
body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area span{font:inherit!important;color:#132B49!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-area-label{box-shadow:none!important;filter:none!important;border:0!important;border-radius:0!important;white-space:normal!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-area-icon{display:contents!important}
body.sop-global-shell-enabled #main .sop-unified-card .profession-card-body h3{min-height:0!important}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-media:not(:has(img)){display:none!important}
body.sop-global-shell-enabled #main .sop-unified-card :is(.profession-card-actions,.sop-course-card-actions,.sopvu165-actions){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.sop-global-shell-enabled #main .sop-unified-card :is(.profession-card-actions,.sop-course-card-actions,.sopvu165-actions)>:is(a,button){min-height:40px!important;padding:8px!important;display:flex!important;align-items:center;justify-content:center;gap:6px;border-radius:7px!important;font:700 13px/1.3 system-ui,sans-serif!important;box-sizing:border-box}
body.sop-global-shell-enabled #main .sop-unified-card .sopvu165-official{grid-column:1/-1!important}
@media(max-width:1000px){body.sop-global-shell-enabled #main .sop-unified-catalog>.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){body.sop-global-shell-enabled #main:has(.sop-unified-card){width:calc(100% - 24px)!important}body.sop-global-shell-enabled #main .sop-unified-catalog>.cards{grid-template-columns:minmax(0,1fr)!important}body.sop-global-shell-enabled #main .sop-unified-catalog>h2{font-size:26px!important}}
@media(max-width:550px){body.sop-global-shell-enabled.sop-visual-courses-336 #main .sopv240-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* University detail: approved cover and components, bounded to the shared shell. */
body.sop-global-shell-enabled #main.sop-university-v2{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:auto!important;padding:14px 0 40px!important}
body.sop-global-shell-enabled #main.sop-university-v2>.sopcg-shell{max-width:none!important;width:100%;padding:0!important}
body.sop-global-shell-enabled #main .sop-uni-detail-hero{width:100%!important;margin:0!important;min-height:230px!important;border-radius:18px}
body.sop-global-shell-enabled #main .sop-uni-detail-copy{min-height:230px!important;padding:20px!important;width:100%;max-width:none!important}
body.sop-global-shell-enabled #main .sop-uni-detail-copy h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.15!important;letter-spacing:-.02em!important;margin:0!important}
body.sop-global-shell-enabled #main .sop-uni-identity{margin:12px 0!important;max-width:100%}
body.sop-global-shell-enabled #main .sop-uni-logo{flex-basis:140px!important;width:140px!important;height:80px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-uni-id{margin-top:8px!important}
body.sop-global-shell-enabled #main .sop-uni-badge{background:#132B49!important;border-radius:7px!important;padding:7px 10px!important}
body.sop-global-shell-enabled #main .sop-uni-actions{margin:10px 0 0!important;gap:8px!important}
body.sop-global-shell-enabled #main .sop-uni-actions>:is(a,button){font:700 13px/1.3 system-ui,sans-serif!important;min-height:40px!important;border-radius:7px!important}
body.sop-global-shell-enabled #main .sop-uni-actions .sop-uni-advisor{background:#006A75!important;border-color:#006A75!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared{width:100%;margin:12px 0 24px}
body.sop-global-shell-enabled #main .sop-uni-search-shared form.search{position:static!important;width:100%!important;margin:0!important;padding:12px!important;background:#fff!important;border:1px solid #CAD5DF!important;border-radius:15px!important;box-shadow:none!important;box-sizing:border-box}
body.sop-global-shell-enabled #main .sop-uni-search-shared .chips{display:flex;gap:8px;flex-wrap:wrap}
body.sop-global-shell-enabled #main .sop-uni-search-shared .chips a{color:#132B49!important;border:1px solid #CAD5DF;background:#F6F9FC;border-radius:999px;padding:7px 12px;font-size:12px;text-decoration:none}
body.sop-global-shell-enabled #main .sop-uni-search-shared .sop-search-submit{background:#006A75!important;color:#fff!important}
body.sop-global-shell-enabled #main .sop-uni-degree-levels{margin:24px 0!important}
body.sop-global-shell-enabled #main .sop-uni-degree-levels>.sop-degree-card{background:#132B49!important;border-radius:11px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-uni-degree-levels>.sop-degree-card .sop-degree-icon{background:#132B49!important;color:#fff!important}
body.sop-global-shell-enabled #main .sop-uni-degree-levels>.sop-degree-card>b{background:#F6F9FC!important;color:#132B49!important}
body.sop-global-shell-enabled #main .sop-uni-degree-levels>.sop-degree-card[aria-pressed=true]{outline:3px solid #006A75;outline-offset:3px}
body.sop-global-shell-enabled #main .sop-unified-card>.sop-uni-course-cover{display:none!important}
body.sop-global-shell-enabled #main.sop-university-v2 .sopcg-stat{border:1px solid #CAD5DF!important;border-radius:16px!important;padding:18px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main.sop-university-v2 .sopcg-head h2{font:700 32px/1.2 system-ui,sans-serif!important}
body.sop-global-shell-enabled #main .sop-uni-course-class{font-size:13px!important;line-height:1.5;color:#132B49!important;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
body.sop-global-shell-enabled #main .sop-uni-course-class>svg{width:18px;height:18px;flex:0 0 18px}
@media(max-width:650px){body.sop-global-shell-enabled #main.sop-university-v2{width:calc(100% - 24px)!important;padding-top:8px!important}body.sop-global-shell-enabled #main .sop-uni-detail-copy{padding:14px!important;min-height:165px!important}body.sop-global-shell-enabled #main .sop-uni-detail-hero{min-height:165px!important}body.sop-global-shell-enabled #main .sop-uni-logo{flex-basis:90px!important;width:90px!important;height:65px!important}body.sop-global-shell-enabled #main .sop-uni-identity{align-items:flex-start}body.sop-global-shell-enabled #main .sop-uni-detail-copy h1{font-size:26px!important}body.sop-global-shell-enabled #main .sopcg-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body.sop-global-shell-enabled #main .cards>.sop-unified-card[hidden]{display:none!important}
body.sop-global-shell-enabled #main.sop-university-v2 .sopcg-navigation{margin:28px 0!important;padding:20px!important;border:1px solid #CAD5DF;border-radius:16px;background:#fff}
body.sop-global-shell-enabled #main.sop-university-v2 .sopcg-navigation h2{font:700 24px/1.25 system-ui,sans-serif!important;margin:0 0 16px!important}
body.sop-global-shell-enabled #main.sop-university-v2 .sop-course-advisor{width:100%!important;box-sizing:border-box;margin:28px 0!important;padding:24px!important;border:1px solid #CAD5DF!important;border-radius:16px!important;background:#F6F9FC!important}
body.sop-global-shell-enabled #main.sop-university-v2 .sop-advisor-actions a{border-radius:7px!important;border-color:#CAD5DF!important;color:#132B49!important;background:#fff!important;font-size:13px!important;justify-content:center}
body.sop-global-shell-enabled #main.sop-university-v2 .sop-advisor-actions a.sop-wa{background:#006A75!important;border-color:#006A75!important;color:#fff!important}

/* Existing 24-result pagination: consistent spacing and action geometry. */
body.sop-global-shell-enabled #main a.button.sop-results-more{display:flex!important;align-items:center!important;justify-content:center!important;width:200px!important;max-width:100%!important;min-height:44px!important;box-sizing:border-box!important;margin:28px auto 32px!important;padding:10px 18px!important;border:1px solid #132B49!important;border-radius:7px!important;background:#132B49!important;color:#fff!important;text-decoration:none!important;font:700 14px/1.4 system-ui,sans-serif!important;box-shadow:none!important;float:none!important}
body.sop-global-shell-enabled #main a.button.sop-results-more:focus-visible{outline:3px solid #006A75;outline-offset:3px}
body.sop-global-shell-enabled #main a.button.sop-results-more:hover{background:#006A75!important;border-color:#006A75!important}

/* Shared presentation across Class, Course and Profession detail templates. */
body.sop-global-shell-enabled #main.sop-shared-detail{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:auto!important;padding:14px 0 40px!important;--class-area:var(--sop-detail-area);--sop-cdl-area:var(--sop-detail-area)}
body.sop-global-shell-enabled #main.sop-shared-detail>.sopcg-shell{max-width:none!important;width:100%;padding:0!important}
body.sop-global-shell-enabled #main .sop-shared-detail-hero{width:100%!important;max-width:100%!important;margin:0!important;min-height:230px!important;border-radius:18px!important;overflow:hidden;box-sizing:border-box}
body.sop-global-shell-enabled #main .sop-shared-detail-copy{min-height:230px!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px!important;box-sizing:border-box}
body.sop-global-shell-enabled #main .sop-shared-detail-hero h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.15!important;letter-spacing:-.02em!important;margin:12px 0!important}
body.sop-global-shell-enabled #main .sop-shared-detail-badges>:is(span,a){background:var(--sop-detail-area)!important;color:#fff!important;border-radius:7px!important;padding:7px 10px!important;font-size:12px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-shared-detail-actions>:is(a,button){min-height:40px!important;border-radius:7px!important;font:700 13px/1.3 system-ui,sans-serif!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-shared-detail-actions .sop-orientatore-cta{background:#006A75!important;border-color:#006A75!important;color:#fff!important}
body.sop-global-shell-enabled #main .sop-unified-card>.sop-class-course-cover{display:none!important}
body.sop-global-shell-enabled #main.sop-shared-detail .cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sopcg-stat{padding:18px!important;border:1px solid #CAD5DF!important;border-radius:16px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sopcg-card:not(.sop-unified-card){border-radius:16px!important;border-color:#CAD5DF!important;box-shadow:none!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sop-uni-search-shared{color:#132B49!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sop-uni-search-shared :is(.sop-class-hints,.chips strong,.filter-help,.sop-clear-all){color:#132B49!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sop-uni-search-shared .sop-class-hints{padding:12px 0!important}
body.sop-global-shell-enabled #main.sop-shared-detail .sop-class-meta-item{display:inline-flex;align-items:center;gap:6px}
@media(max-width:1000px){body.sop-global-shell-enabled #main.sop-shared-detail .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body.sop-global-shell-enabled #main.sop-shared-detail{width:calc(100% - 24px)!important;padding-top:8px!important}body.sop-global-shell-enabled #main .sop-shared-detail-hero,body.sop-global-shell-enabled #main .sop-shared-detail-copy{min-height:165px!important}body.sop-global-shell-enabled #main .sop-shared-detail-copy{padding:14px!important}body.sop-global-shell-enabled #main.sop-shared-detail .cards{grid-template-columns:minmax(0,1fr)!important}body.sop-global-shell-enabled #main.sop-shared-detail .sopcg-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Functional orientation action: approved neutral palette, distinct from area colors. */
body.sop-global-shell-enabled #main#main :is(.sop-orientatore-cta,.sop-uni-advisor){background:#fff!important;color:#132B49!important;border:1px solid #132B49!important;border-radius:7px!important;box-shadow:none!important;display:inline-flex!important;align-items:center;justify-content:center;gap:7px}
body.sop-global-shell-enabled #main#main :is(.sop-orientatore-cta,.sop-uni-advisor)>svg{width:18px;height:18px;stroke:currentColor!important;color:#132B49!important}
/* Search shares the approved external form geometry, without nested shadows. */
body.sop-global-shell-enabled #main .sop-uni-search-shared{margin:10px 0 24px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared form.search{padding:12px!important;border-radius:15px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared .search-row{display:grid!important;grid-template-columns:minmax(0,1fr) 112px!important;gap:6px!important;padding:0!important;background:#fff!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared #sop-query{height:44px!important;width:100%!important;box-sizing:border-box;background:#fff!important;box-shadow:none!important;border:1px solid #CAD5DF!important;border-radius:7px!important;padding:0 12px!important;font-size:16px!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared .sop-search-submit{height:44px!important;min-height:44px!important;border-radius:7px!important;font:700 14px/1.3 system-ui,sans-serif!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared .sop-filter-toggle{min-height:34px!important;margin:6px 0 0!important;padding:6px 10px!important;border:1px solid #CAD5DF!important;border-radius:9px!important;background:#fff!important;color:#132B49!important;font:700 13px/1.3 system-ui,sans-serif!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared .chips{justify-content:flex-start!important;gap:5px!important;margin:7px 0 0!important;padding:0!important}
body.sop-global-shell-enabled #main .sop-uni-search-shared .chips a{background:#fff!important;border-color:#CAD5DF!important;border-radius:999px!important;font:500 11px/1.3 system-ui,sans-serif!important;padding:4px 7px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main .sop-shared-detail-copy{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:0!important}
body.sop-global-shell-enabled #main .sop-shared-detail-hero h1{margin:10px 0!important;font-size:32px!important;line-height:1.15!important}
body.sop-global-shell-enabled #main .sop-shared-detail-actions{margin:12px 0 0!important;gap:8px!important}
@media(max-width:650px){body.sop-global-shell-enabled #main .sop-uni-search-shared .search-row{grid-template-columns:minmax(0,1fr)!important}body.sop-global-shell-enabled #main .sop-shared-detail-hero h1{font-size:26px!important}}
/* Approved profession consolidation. */
body.sop-global-shell-enabled #main .sop-prof-hide-lead{display:none!important}
body.sop-global-shell-enabled #main .sop-prof-detail-area{background:var(--sop-prof-approved-area,#132B49)!important;color:#fff!important;border-radius:7px!important}
body.sop-global-shell-enabled #main .sop-prof-what{margin-top:24px!important}
body.sop-global-shell-enabled #main.sop-prof-v2 :is(.sop-prof-what,.sop-skill-panel,.sop-prof-route,.sop-prof-study,.sop-prof-video,.sop-prof-support-final){border:1px solid #CAD5DF!important;border-radius:16px!important;box-shadow:none!important;padding:24px!important;margin-bottom:24px!important;box-sizing:border-box}
body.sop-global-shell-enabled #main.sop-prof-v2 :is(.sop-prof-what,.sop-skill-panel,.sop-prof-route,.sop-prof-study){background:#fff!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-class-chips,.sop-prof-course-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-class-chips>a{display:flex!important;align-items:flex-start;gap:10px;padding:16px!important;border:1px solid #CAD5DF!important;border-top:4px solid var(--sop-class-approved-area)!important;border-radius:16px!important;background:#fff!important;color:#132B49!important;box-shadow:none!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-class-chips>a>svg{width:28px!important;height:28px!important;flex:0 0 28px;color:var(--sop-class-approved-area)!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-study-link{background:#132B49!important;color:#fff!important;border-radius:7px!important;font-size:14px!important;box-shadow:none!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-video{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;background:#F6F9FC!important;align-items:center!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .video-slot{min-height:160px!important;border-radius:12px!important;overflow:hidden;box-shadow:none!important;background:#fff!important;border:1px solid #CAD5DF!important}
body.sop-global-shell-enabled #main .sop-video-access{padding:20px;box-sizing:border-box;color:#132B49;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.sop-global-shell-enabled #main .sop-video-access p{width:100%;margin:0}
body.sop-global-shell-enabled #main :is(.sop-video-login,.sop-video-external){background:#132B49!important;color:#fff!important;border-radius:7px!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;text-decoration:none}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-support-final{background:#F6F9FC!important;color:#132B49!important;display:block!important}
body.sop-global-shell-enabled #main .sop-prof-support-final :is(h2,p,.sopcg-kicker){color:#132B49!important}
body.sop-global-shell-enabled #main .sop-prof-support-final>.sop-prof-actions{margin-top:16px!important}
body.sop-global-shell-enabled #main .sop-prof-support-final :is(.sop-course-advisor,.sop-prefooter){width:100%!important;margin:20px 0 0!important;padding:20px 0 0!important;border:0!important;border-top:1px solid #CAD5DF!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box}
body.sop-global-shell-enabled #main .sop-prof-support-final [data-save]{background:#fff!important;border:1px solid #132B49!important;color:#132B49!important;border-radius:7px!important}
body.sop-global-shell-enabled #main .sop-prof-support-final a.secondary{background:#132B49!important;border:1px solid #132B49!important;color:#fff!important;border-radius:7px!important}
@media(max-width:1000px){body.sop-global-shell-enabled #main.sop-prof-v2 :is(.sop-prof-class-chips,.sop-prof-course-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body.sop-global-shell-enabled #main.sop-prof-v2 :is(.sop-prof-class-chips,.sop-prof-course-grid,.sop-prof-video){grid-template-columns:minmax(0,1fr)!important}body.sop-global-shell-enabled #main.sop-prof-v2 :is(.sop-prof-what,.sop-skill-panel,.sop-prof-route,.sop-prof-study,.sop-prof-video,.sop-prof-support-final){padding:18px!important}}


/* Video contrast on the approved light background, including the empty state. */
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-video,
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-video :is(h2,p,.sopcg-kicker,.sop-video-placeholder,.sop-video-placeholder span,.sop-video-placeholder svg,.sop-video-register){color:#132B49!important;opacity:1!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-video-placeholder{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:160px!important;padding:20px!important;box-sizing:border-box;background:#fff!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-video-copy p{display:block!important}
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-video-placeholder svg{stroke:currentColor!important}

/* Restore the native profession cover and its original universal search.
   No search-control styles or markup are changed. */
body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-detail-hero-v2{width:100%!important;max-width:1180px!important;margin:0!important;min-height:430px;border-radius:18px;overflow:hidden}
@media(max-width:650px){body.sop-global-shell-enabled #main.sop-prof-v2 .sop-prof-detail-hero-v2{width:100%!important;margin-left:0!important}}
