/* Original layouts retained. TEC contrast adjustments only. */
.edu-btn-primary,.uf-btn-submit,.la-btn-primary,.pu-btn-primary{background:#ba0027!important;color:#fff!important;border-color:#ba0027!important}.edu-field input:focus,.uf-field input:focus{outline:2px solid #082d59;outline-offset:2px}

/* Clear Capitol imagery and navy text instead of dark overlays. */
.ep-hero,.ep-view-hero,.edu-hero,.pu-topbar,.la-topbar,.uf-topbar{background-image:linear-gradient(90deg,rgba(255,255,255,.8) 0%,rgba(255,255,255,.72) 30%,rgba(255,255,255,.88) 65%,#fff 92%),url('/uploads/design/capitol-original.jpg')!important;background-size:cover!important;background-position:center 42%!important;background-color:#fff!important;color:#082d59!important}.ep-hero h1,.ep-view-hero h1,.edu-hero h1,.pu-topbar h1,.la-topbar h1,.uf-topbar h1{color:#082d59!important}.ep-hero h1 span{color:#ba0027!important}.ep-hero p,.ep-view-hero p,.edu-hero p,.pu-topbar p,.la-topbar p,.uf-topbar p{color:#082d59!important;opacity:1!important}.ep-search input{background:rgba(255,255,255,.95)!important;color:#082d59!important;border:1px solid #aabed2!important}.ep-search input::placeholder{color:#082d59!important}.ep-hero .ep-btn,.ep-view-hero .ep-btn,.edu-btn-ghost,.pu-btn-ghost,.la-btn-ghost,.uf-btn-ghost{color:#082d59!important;border-color:#aabed2!important;background:#ffffffda!important}
/* Shared interior banners: preserve the full image height, fade to white. */
.ep-hero,.ep-view-hero,.edu-hero,.ba-topbar,.uc-topbar,.up-topbar,.pu-topbar,.la-topbar,.uf-topbar,.dash-hero,.my-hero,.fp-hero,.rp-hero,.cp-hero,.nh-blog-hero,.about-hero,.hero:not(:has(.hero-copy)){background-color:#fff!important;background-image:linear-gradient(90deg,rgba(255,255,255,.7) 0%,rgba(255,255,255,.68) 25%,rgba(255,255,255,.92) 60%,#fff 85%),url('/uploads/design/capitol-original.jpg')!important;background-size:100% 100%,auto 100%!important;background-position:center,left center!important;background-repeat:no-repeat!important;color:#082d59!important}
.ep-hero h1,.ep-view-hero h1,.edu-hero h1,.ba-topbar h1,.uc-topbar h1,.up-topbar h1,.dash-hero h1,.my-hero h1,.about-hero h1,.hero:not(:has(.hero-copy)) h1{color:#082d59!important}.ep-hero p,.ep-view-hero p,.edu-hero p,.ba-topbar p,.uc-topbar p,.up-topbar p,.dash-hero p,.my-hero p,.about-hero p,.hero:not(:has(.hero-copy)) p{color:#082d59!important;opacity:1!important}
@media(max-width:650px){.ep-hero,.ep-view-hero,.edu-hero,.ba-topbar,.uc-topbar,.up-topbar,.pu-topbar,.la-topbar,.uf-topbar,.dash-hero,.my-hero,.fp-hero,.rp-hero,.cp-hero,.nh-blog-hero,.about-hero,.hero:not(:has(.hero-copy)){background-image:linear-gradient(90deg,rgba(255,255,255,.86),rgba(255,255,255,.93) 55%,#fff 100%),url('/uploads/design/capitol-original.jpg')!important}}
.ep-hero,.ep-view-hero,.edu-hero,.ba-topbar,.uc-topbar,.up-topbar,.pu-topbar,.la-topbar,.uf-topbar,.dash-hero,.my-hero,.fp-hero,.rp-hero,.cp-hero,.nh-blog-hero,.about-hero,.hero:not(:has(.hero-copy)){background-image:linear-gradient(90deg,rgba(255,255,255,.7),rgba(255,255,255,.74) 42%,rgba(255,255,255,.94) 60%,#fff 70%),url('/uploads/design/capitol-original.jpg')!important;background-size:100% 100%,auto 100%!important;background-color:#fff!important}
.about-hero{background-size:100% 100%,auto 100%!important;background-image:linear-gradient(90deg,rgba(255,255,255,.72),rgba(255,255,255,.76) 35%,rgba(255,255,255,.96) 53%,#fff 62%),url('/uploads/design/capitol-original.jpg')!important}
/* The fade follows the image width, independently of the banner width. */
:is(.ep-hero,.ep-view-hero,.edu-hero,.ba-topbar,.uc-topbar,.up-topbar,.pu-topbar,.la-topbar,.uf-topbar,.dash-hero,.my-hero,.fp-hero,.rp-hero,.cp-hero,.nh-blog-hero,.about-hero,.hero:not(:has(.hero-copy))){position:relative;isolation:isolate;overflow:hidden;background:#fff!important}
:is(.ep-hero,.ep-view-hero,.edu-hero,.ba-topbar,.uc-topbar,.up-topbar,.pu-topbar,.la-topbar,.uf-topbar,.dash-hero,.my-hero,.fp-hero,.rp-hero,.cp-hero,.nh-blog-hero,.about-hero,.hero:not(:has(.hero-copy)))::before{content:'';position:absolute;left:0;top:0;height:100%;aspect-ratio:2500/832;z-index:-1;pointer-events:none;background:url('/uploads/design/capitol-original.jpg') left center/contain no-repeat;opacity:.32;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 38%,rgba(0,0,0,.7) 52%,transparent 88%);mask-image:linear-gradient(90deg,#000 0%,#000 38%,rgba(0,0,0,.7) 52%,transparent 88%)}
/* One directory banner system for programs, alumni, instructors and institutions. */
.ep-hero{height:300px!important;min-height:300px!important;padding:40px 6%!important;display:flex;align-items:center;overflow:visible!important;font-family:Arial,sans-serif!important}.ep-hero::before{max-width:100%;pointer-events:none}.ep-hero-inner{width:100%;max-width:1380px;margin:0 auto}.ep-hero h1{font-family:Georgia,serif!important;font-weight:700!important;line-height:1.15;font-size:38px!important;color:#082d59!important;margin:0 0 14px!important}.ep-hero h1 .ahe-brand-word{color:#ba0027!important}.ep-hero p{font:16px/1.6 Arial,sans-serif!important;margin:0 0 18px!important;max-width:900px}.ep-toolbar{display:flex!important;align-items:stretch;gap:12px;max-width:1000px}.ep-search{position:relative;flex:1;min-width:0}.ep-search input{box-sizing:border-box;width:100%;height:48px!important;background:#fff!important;border:1px solid #b5c7d9!important;border-radius:10px!important;color:#082d59!important;font:14px Arial,sans-serif!important;padding:0 14px}.ahe-directory-add{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:#ba0027;color:#fff!important;padding:0 20px;min-height:48px;border-radius:10px;font:bold 13px Arial,sans-serif;text-decoration:none}.ep-search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:40;background:#fff;border:1px solid #dbe4ee;box-shadow:0 8px 25px #082d591a;max-height:280px;overflow:auto}.ep-wrap,.edu-catalog{font-family:Arial,sans-serif!important;color:#082d59}.ep-card-title,.edu-program-title{color:#082d59!important;font-family:Georgia,serif!important}@media(max-width:650px){.ep-hero{height:300px!important;min-height:300px!important;padding:30px 6%!important}.ep-hero h1{font-size:30px!important}.ep-hero p{font-size:14px!important}.ep-toolbar{flex-direction:column!important;gap:10px}.ahe-directory-add{align-self:flex-start;min-height:40px}}
/* TEC shared typography: editorial headings, consistent readable UI text. */
:root{--ahe-body-font:Arial,sans-serif;--ahe-heading-font:Georgia,serif;--ahe-navy:#082d59}body,.la-page,.uf-page,.pu-page,.uc-page,.up-page,.ep-page,.edu-page{font-family:var(--ahe-body-font)!important}h1,h2,.ep-card-title,.edu-program-title{font-family:var(--ahe-heading-font)!important}.la-field,.uf-field,.la-card-h,.uf-section-title,label,input,select,textarea,button,.la-btn-primary,.uf-btn-submit,.la-btn-ghost,.uf-btn-ghost{font-family:var(--ahe-body-font)!important}.la-card-h,.uf-card-header,.edu-page .card h2{background:#082d59!important;color:#fff!important}.la-field label,.uf-field label,.uf-section-title{color:#082d59!important}
/* Form labels use the same editorial type family as the page headings. */
label,.la-field label,.uf-field label,.edu-field label,.card label,.body label{font-family:var(--ahe-heading-font,Georgia,serif)!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;color:#082d59!important;line-height:1.4}.la-card-h,.uf-section-title,.card h2{font-family:var(--ahe-heading-font,Georgia,serif)!important}
/* Final shared type hierarchy for all public pages and portal forms. */
:root{--ahe-navy:#082d59;--ahe-red:#ba0027;--ahe-body-font:Arial,sans-serif;--ahe-heading-font:Georgia,serif}body,main,.ep-page,.la-page,.uf-page,.pu-page,.uc-page,.up-page,.edu-page{font-family:var(--ahe-body-font)!important}h1,h2,h3,.ep-card-title,.ep-section-head,.ep-info-head,.la-card-h,.uf-section-title,.edu-program-title,.card>h2{font-family:var(--ahe-heading-font)!important}p,li,td,input,select,textarea,button{font-family:var(--ahe-body-font)}label,.la-field label,.uf-field label,.edu-field label,.ep-info-label{font-family:var(--ahe-heading-font)!important}.ep-section-head,.ep-info-head,.ep-section-title,.la-card-h{background-color:#082d59!important;color:#fff!important}.ep-view-copy h1,.ep-card-title,.ep-info-value{color:#082d59!important}
/* Profile field captions: regular editorial font and subdued blue-grey. */
.ep-info span,.ep-program-meta span,.ep-info-label{font-family:var(--ahe-heading-font,Georgia,serif)!important;font-weight:400!important;color:#52677b!important;text-transform:none!important;font-size:14px!important;letter-spacing:0!important;line-height:1.45}.ep-view-logo{overflow:hidden;padding:0!important;background:#fff!important}.ep-view-logo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block;border-radius:inherit}.ahe-footer-seal img{padding:0!important;object-fit:cover!important}
.ep-hero h1{color:#082d59!important}.ep-hero h1 .ahe-brand-word{color:#ba0027!important}
/* Fine concentric rings around the circular profile logo. */
.ep-view-logo:not(.is-square){border:1px solid #082d59!important;box-shadow:0 0 0 3px #fff,0 0 0 4px #ba0027!important;border-radius:50%;background:#fff!important}
/* Profile action buttons: rectangular with gently rounded corners. */
.ep-view-cta-row .ep-btn,.ep-view-actions .ep-btn{border-radius:8px!important;min-height:42px;padding:10px 18px;box-sizing:border-box}
/* Complete program editors use the same section cards and rectangular controls. */
.ba-page .card{background:#fff;border:1px solid #e3eafa;border-radius:18px;overflow:hidden;box-shadow:0 4px 20px #082d5912;margin-bottom:24px}.ba-page .card h2{background:#082d59;color:#fff;padding:15px 22px;margin:0;font-size:17px}.ba-page .card .body{padding:24px}.ba-page .btn-primary,.ba-page .btn-secondary,.ba-page .ba-btn-ghost,.ba-page .btn{border-radius:8px!important}.ba-page label{font-weight:400!important;color:#52677b!important}.ba-page .grid2,.ba-page .grid3{gap:16px!important}.ba-page input,.ba-page select,.ba-page textarea{border:1px solid #cbd8e6;border-radius:8px}
/* Stable profile banners: full-width one-line title; Back is below the actions. */
.ep-view-hero{height:300px!important;min-height:300px!important;padding:35px 6%!important;box-sizing:border-box;display:flex;align-items:center}.ep-view-hero-inner{display:block!important;width:100%;max-width:1380px;margin:0 auto}.ep-view-summary{display:grid!important;grid-template-columns:154px minmax(0,1fr)!important;gap:24px;align-items:center}.ep-view-copy{min-width:0;width:100%}.ep-view-headline{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.ep-view-headline h1{flex:1;min-width:0;margin:0 0 8px!important;font-size:42px;line-height:1.15!important;white-space:nowrap!important;letter-spacing:0!important}.ep-view-headline .ep-status-icon{flex-shrink:0}.ep-view-copy .ep-view-actions{justify-content:flex-start!important;margin-top:12px}.ep-view-logo{width:154px;height:154px;border-radius:50%!important;border:1px solid #082d59!important;box-shadow:0 0 0 3px #fff,0 0 0 4px #ba0027!important;overflow:hidden}.ep-view-logo img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff}.ep-view-copy p{margin-bottom:12px}@media(max-width:650px){.ep-view-hero{height:300px!important;padding:30px 6%!important}.ep-view-summary{grid-template-columns:80px minmax(0,1fr)!important;gap:16px}.ep-view-logo{width:80px;height:80px}.ep-view-copy .ep-btn{font-size:11px;padding:8px 10px;min-height:34px}.ep-view-cta-row{gap:6px}.ep-view-copy p{font-size:12px}}
/* Smaller actions in a single row, and status immediately after title text. */
.ep-view-cta-row{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;max-width:100%;overflow-x:auto;padding:3px 0}.ep-view-cta-row .ep-btn{font-size:12px!important;padding:7px 12px!important;min-height:34px!important;border-radius:7px!important;white-space:nowrap;flex:0 0 auto}.ep-view-headline h1 .ep-status-icon{display:inline-flex!important;font-size:18px!important;vertical-align:middle;margin-left:7px;line-height:1}.ep-status-icon.ep-status-blue,.ep-status-icon.ep-status-green{color:#009cff!important}.ep-status-icon.ep-status-gray{color:#aebbc8!important}.ep-status-icon.ep-status-red{color:#ba0027!important}@media(max-width:650px){.ep-view-cta-row .ep-btn{font-size:10px!important;padding:6px 9px!important;min-height:30px!important}}
/* Program cards share the website typography and TEC accent colors. */
.edu-card-meta{color:#ba0027!important;font-family:var(--ahe-heading-font,Georgia,serif)!important;font-weight:400!important;letter-spacing:.03em;font-size:13px!important}.edu-card-body h3{font-family:var(--ahe-heading-font,Georgia,serif)!important;color:#082d59!important;font-weight:600!important}.edu-card-desc,.edu-card-facts{font-family:var(--ahe-body-font,Arial,sans-serif)!important}.edu-card-top img{width:110px;height:110px;object-fit:contain}.edu-card-admin a{border-radius:7px!important;background:#edf2f7!important;color:#082d59!important;font-family:var(--ahe-body-font,Arial,sans-serif)!important}
.edu-badge-approved{background:#009cff!important;color:#fff!important}.edu-badge-in_progress,.edu-badge-completed{background:#009cff!important;color:#fff!important}.edu-badge-pending{background:#aebbc8!important;color:#fff!important}/* No decorative blue seam between the utility bar and main navigation. */
.utility{border:0!important;box-shadow:none!important;margin-bottom:0!important}
body>header{border-top:0!important;box-shadow:none!important;outline:none}
/* Consistent creation and editing forms, in and outside the portal. */
.la-field label,.uf-field label{font:400 14px/1.4 Georgia,serif!important;color:#52677b!important}
.la-card-h,.uf-section-title{font-family:Georgia,serif!important;font-size:18px!important;font-weight:400!important;background:#082d59!important;color:#fff!important}
.la-btn-primary,.la-btn-cancel,.uf-btn-submit,.uf-btn-cancel{border-radius:7px!important;font:400 12px Arial,sans-serif!important}
.la-alert-ok,.uf-note{background:#f2f6fa!important;border:1px solid #dce7f1!important;color:#52677b!important;font:13px/1.6 Arial,sans-serif!important}
/* Dossier fields follow the existing program form labels, not heading defaults. */
.ba-page .dossier-editor label{font:400 14px/1.4 var(--ahe-heading-font,Georgia,serif)!important;color:#52677b!important;letter-spacing:0!important}
.ba-page .dossier-editor .dossier-field-row{margin-top:16px}
.ba-page .dossier-editor .dossier-field-row>div{min-width:0}
.ba-page .dossier-editor textarea{font:400 14px/1.5 var(--ahe-body-font,Arial,sans-serif)!important;color:#082d59!important}
/* Curriculum rows: prioritize the bilingual subject titles. */
.grid3:has(input[name="item_title_en[]"]),.grid3:has(input[name="item_title_es[]"]){grid-template-columns:minmax(130px,1fr) minmax(0,3.5fr) minmax(85px,.65fr)!important;gap:14px}
.grid3:has(input[name="item_title_en[]"])>div,.grid3:has(input[name="item_title_es[]"])>div{min-width:0}
@media(max-width:650px){.grid3:has(input[name="item_title_en[]"]),.grid3:has(input[name="item_title_es[]"]){grid-template-columns:1fr!important}}
/* Structured course topics and bibliography match the program fields. */
.dossier-course-content{margin-top:16px}.dossier-course-content label{font:400 14px Georgia,serif!important;color:#52677b!important}
.dossier-bullet-button,.dossier-remove-course,.dossier-reference-row button,#dossierAddReference{font:400 12px Arial,sans-serif!important;padding:7px 12px;border:1px solid #cbd8e6;border-radius:7px;background:#f4f7fa;color:#082d59;cursor:pointer;margin:6px 0}
.dossier-bullet-button{display:block;color:#082d59}.dossier-reference-row{padding:16px;border:1px solid #dce7f1;border-radius:8px;margin:16px 0;background:#fbfdff}.dossier-reference-row [hidden]{display:none!important}.dossier-references h3{font:400 16px Georgia,serif;color:#52677b}
.dossier-reference-row>div[hidden],.dossier-reference-row>p[hidden]{display:none!important}
.dossier-reference-summary{font:14px/1.6 Arial,sans-serif;color:#52677b;margin:0 0 10px;overflow-wrap:anywhere}
.dossier-reference-actions{display:flex;gap:8px}.dossier-reference-row [role="status"]{font:12px/1.5 Arial,sans-serif;color:#52677b}

/* Keep shared headers flush; legacy account pages must not overlap navigation. */
body>.utility{border:0!important;outline:0!important;box-shadow:none!important;margin:0!important;background:#082d59}
body>.utility::before,body>.utility::after{display:none!important}
body>.utility+header{border-top:0!important;border-bottom:0!important;outline:0!important;box-shadow:none!important;margin-top:0!important}
.fp-page,.rp-page,.cp-page,.my-login{margin-top:0!important}
