/* Details traced to the approved high-resolution composition, separate from behavior. */
:root{--panel:#fbf5e7;--page:#f9f2e2;--subtle:#eee8d7;--field:#fffaf1;--edge:#d8c6a3;--text:#112c24;--quiet:#565b4d;--heritage-gold:#ab8540;--heritage-gold-soft:#c5a568}
:root[data-theme=dark]{--panel:#242a23;--page:#1a211c;--subtle:#30382c;--field:#2c342b;--edge:#655b42;--text:#f3eddf;--quiet:#c4c2af;--heritage-gold:#c4a765;--heritage-gold-soft:#8f7950}
body{background-image:var(--paper-grain),radial-gradient(ellipse at 55% 20%,#fff4,transparent 65%);background-color:var(--page)}
/* The two faint architectural engravings in the user's close-ups. */
.main{position:relative;isolation:isolate}.main::before{content:'';position:absolute;right:0;top:60px;width:min(47%,550px);height:315px;background:url('/academic/campus-engraving.webp') right top/auto 100% no-repeat;opacity:.16;pointer-events:none;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 42%)}
.sidebar{position:sticky;isolation:isolate;background-color:var(--page);background-image:var(--paper-grain)}.sidebar::after{content:'';position:absolute;left:0;right:0;bottom:0;height:190px;background:url('/academic/campus-engraving.webp') 52% bottom/auto 140px no-repeat;opacity:.23;mask-image:linear-gradient(0deg,#000,transparent 90%);pointer-events:none;z-index:-1}
.sidebar .brand,.sidebar>div{position:relative;z-index:1}.sidebar .side-bottom{margin-top:auto;padding:28px 0 70px;border-top:1px solid var(--heritage-gold-soft);background:none}.sidebar .side-bottom::before{display:none}.sidebar .side-bottom .heritage-flourish{position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:36px;height:16px;background:var(--page);padding-inline:2px;color:var(--heritage-gold)}.sidebar .side-bottom p{font:10px/1.9 var(--font-academic);letter-spacing:.16em;margin:0;text-transform:uppercase;color:var(--text)}
:root[data-theme=dark] .main::before{opacity:.13;filter:sepia(.6) brightness(1.7)}:root[data-theme=dark] .sidebar::after{opacity:.17;filter:sepia(.6) brightness(1.7)}
/* Single fine frames, warm ivory surfaces and the reference's restrained spacing. */
@media(min-width:701px){.app{grid-template-columns:218px minmax(0,1fr)}.sidebar{width:218px;padding:18px 13px;gap:19px}}
.sidebar .brand{border-bottom:0;padding-bottom:0;gap:0}.sidebar .brand .brand-mark.brand-crest{width:129px;height:137px;flex-basis:137px}.sidebar .brand .brand-wordmark{font-size:27px;letter-spacing:-.04em}.sidebar .nav-label{display:none}.sidebar .nav{gap:3px}.sidebar .nav button{font-size:16px!important;gap:12px;padding:10px 13px;min-height:41px}.sidebar .nav button.active{background:color-mix(in srgb,var(--accent) 18%,var(--page));box-shadow:none;border-color:#9c9f7e33;border-radius:5px}.sidebar .nav .nav-symbol{width:22px;height:22px}.sidebar .nav button[data-go] .ico{width:23px;height:23px}
.main>.topbar{background:var(--paper-grain),color-mix(in srgb,var(--panel) 60%,transparent);border-block:1px solid color-mix(in srgb,var(--heritage-gold) 38%,transparent);height:58px;padding-inline:30px}.main>.topbar .date{display:none}.top-actions{gap:11px}.heritage-profile-label{display:flex;gap:10px;align-items:center;border:0;padding:0;background:none;font:13px var(--font-academic);color:var(--text)}.heritage-profile-label>span{font:20px var(--font-academic)}.topbar .avatar{width:34px;height:34px}.topbar .heritage-mode-switch{margin-right:13px;position:relative}.topbar .heritage-mode-switch::after{content:'';position:absolute;right:-12px;top:2px;bottom:2px;width:1px;background:var(--heritage-gold-soft)}
.heritage-mobile-brand{display:none}.content{padding:20px 22px 65px}.heritage-home{max-width:1260px}
.heritage-home .nexo-card{border:1px solid var(--edge);border-radius:8px!important;box-shadow:none;background-color:color-mix(in srgb,var(--panel) 78%,transparent);background-image:var(--paper-grain);padding:18px}
.heritage-welcome{grid-template-columns:155px minmax(0,1fr);gap:20px;min-height:176px;padding:0 0 8px}.heritage-welcome .learning-course-watermark{display:none}.heritage-welcome-copy{padding:4px 0}.heritage-greeting{font-size:18px;margin-bottom:5px}.heritage-welcome h1{font-size:clamp(30px,2.6vw,41px);font-weight:600!important;line-height:1.13;letter-spacing:-.035em;max-width:none;margin-bottom:9px}.heritage-welcome-copy>p:last-of-type{font-size:17px;line-height:1.4;color:var(--text)}
.nexo-companion{width:155px;max-width:155px}.nexo-mascot-button{width:155px;filter:drop-shadow(0 3px 1px #6c542e24)}.nexo-mascot{height:164px;width:155px}.heritage-divider{max-width:490px;gap:0;margin-top:14px}.heritage-divider .heritage-flourish{width:35px;height:15px;color:var(--heritage-gold)}.heritage-divider::before,.heritage-divider::after{background:linear-gradient(90deg,transparent,var(--heritage-gold-soft))}
/* Die-cut double-gold plaques, including their inset curled corners. */
.heritage-primary-actions{grid-template-columns:1.12fr 1fr 1fr;gap:17px;margin-bottom:22px}.heritage-primary-actions>.btn{border:8px solid transparent;border-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' fill='none' stroke='%23b28c45'%3E%3Cpath d='M12 2h176q0 10 10 10v76q-10 0-10 10H12Q12 88 2 88V12Q12 12 12 2Z'/%3E%3Cpath d='M15 6h170q1 10 9 10v68q-8 0-9 10H15q-1-10-9-10V16q8 0 9-10Z' stroke-width='.7'/%3E%3C/svg%3E") 16 stretch;background-clip:padding-box;min-height:59px;box-shadow:0 2px 4px var(--heritage-shadow);padding:8px 16px;gap:13px;font-size:18px;font-weight:600!important;border-radius:0!important}.heritage-primary-actions>.btn.primary{background-color:var(--accent);box-shadow:0 2px 4px var(--heritage-shadow)}.heritage-primary-actions>.btn>.heritage-ui-icon{width:27px;height:27px}.heritage-primary-actions>.btn>span:last-child{color:var(--text);font-size:29px}.heritage-primary-actions>.btn.primary>span:last-child{color:var(--on-accent,#fff)}
.heritage-ui-icon.icon-book{fill:color-mix(in srgb,var(--heritage-gold) 12%,var(--panel))}.heritage-ui-icon.icon-cap,.nav-symbol.icon-cap{fill:var(--accent-ink);stroke-width:1.2}.heritage-primary-actions>.primary .icon-book{fill:#eee1b7;stroke:#e0d2a4}.heritage-primary-actions>.primary .icon-book path{stroke-width:1.05}
.heritage-dashboard{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:16px}.nexo-section-head{border-bottom:1px solid color-mix(in srgb,var(--heritage-gold) 35%,transparent);padding-bottom:12px;margin-bottom:16px}.nexo-section-head h2{font-size:23px;gap:12px}.nexo-section-head .link{font-size:13px}.nexo-section-head .heritage-ui-icon{width:25px;height:25px}.nexo-folder-grid{gap:17px}.heritage-new-folder{margin-top:13px;font-size:11px}.nexo-folder-description{padding-top:6px}.nexo-folder-description>strong{font-size:12px!important}.nexo-folder-description small{font-size:10px}
/* The gilded corner illustration is an overlay; titles, symbols and chosen colors remain live. */
.nexo-folder-cover.heritage-book,.folder-gallery .folder-cover.heritage-book{border:0;outline:0;border-radius:5px;padding:12px 11px 14px 23px;background:transparent;box-shadow:none;filter:drop-shadow(2px 4px 3px #422b2440);aspect-ratio:4/5.6;overflow:hidden}
.heritage-book::before{inset:0;width:100%;border:0;box-shadow:none;background:url('/academic/book-binding.webp') center/100% 100% no-repeat;z-index:2}
/* The binding's transparent margins stay transparent. Leather ends underneath the gold edge. */
.heritage-book::after{content:'';display:block;position:absolute;inset:2.8% 2.8% 3.6% 10%;width:auto;height:auto;transform:none;border:0;border-radius:1px;background:var(--paper-grain),radial-gradient(ellipse at 50% 25%,#fff1,transparent 65%),color-mix(in srgb,var(--book-color) 65%,#020b06);box-shadow:none;z-index:0;pointer-events:none}
.nexo-folder-cover.heritage-book .heritage-book-face,.folder-gallery .folder-cover.heritage-book .heritage-book-face{outline:0;border:0;grid-template-rows:auto 1px minmax(27px,1fr) auto auto;padding:27px 4px 8px;gap:8px;text-shadow:0 1px 2px #0009;z-index:3}.heritage-book-face .heritage-book-corner{display:none}.heritage-book-face .heritage-book-seal{top:5px;right:1px;width:21px;height:21px;font-size:8px;letter-spacing:.1em;line-height:.5;border:0;background:#f8edc9;color:#21382b}
.nexo-folder-cover.heritage-book .heritage-book-title{font-size:17px;font-weight:500;line-height:1.22;color:#f3ddb0}.heritage-book-face .heritage-book-rule{background:none;height:0}.heritage-book-symbol svg{max-height:94px;max-width:84px;width:80%;filter:drop-shadow(0 1px 0 #4d340e) drop-shadow(0 -1px 0 #efd48d88);color:#c5a04b;stroke-width:1.15}.heritage-book-face .heritage-book-label{font-size:9px;letter-spacing:-.02em;line-height:1.4;background:linear-gradient(#fff4d8,#eee1b9);border:1px solid #b59b66;outline:2px solid #f7edcc;outline-offset:-3px;border-radius:4px;padding:7px 1px;color:#1d2b22;white-space:normal}.heritage-book-face .heritage-book-foot{font-size:6px;letter-spacing:.2em}
.folder-gallery .folder-cover.heritage-book{min-height:290px;padding:18px 17px 20px 32px}.folder-gallery .folder-cover.heritage-book .heritage-book-label{font-size:11px}.folder-gallery .folder-cover.heritage-book .heritage-book-title{font-size:22px}
/* Gold academic seals, with a scalloped foil rim and laurel details instead of gear-like rays. */
.heritage-progress-title{font-size:15px;margin:0 0 10px}.heritage-progress-title strong{font:600 17px var(--font-academic)}.heritage-progress-track .progress{height:13px;border:1px solid #bcbba2;background:#d8d8c4;border-radius:8px;box-shadow:inset 0 1px 2px #564a3620}.heritage-progress-track .progress>span{border:1px solid color-mix(in srgb,var(--accent) 65%,black);background:linear-gradient(0deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#78af83));border-radius:7px}.heritage-progress-track small{font:14px var(--font-academic);color:var(--text)}
.heritage-achievement-heading{padding-top:12px;margin-top:17px;border-top:1px solid var(--edge)}.heritage-achievement-heading h3{font-size:18px}.heritage-achievement-heading .link{font:12px var(--font-academic)}.heritage-seals{gap:13px;margin-top:15px}.heritage-seal-art{width:min(100%,104px);color:#d1ae56;filter:drop-shadow(0 3px 2px #5d441b55)}.seal-outer{fill:#b18a39;stroke:#624c1e;stroke-width:1}.seal-gold{fill:#d2b36c;stroke:#f0d890;stroke-width:1}.seal-enamel{fill:color-mix(in srgb,var(--accent) 78%,#052119);stroke:#795b23;stroke-width:2}.seal-laurels{opacity:.9}.heritage-seal strong{font-size:13px;font-weight:600}.heritage-seal small{font-size:11px;line-height:1.35}.heritage-seal.is-pending .heritage-seal-art{opacity:.62;filter:grayscale(.15) drop-shadow(0 2px 2px #5d441b33)}
/* The bookmark is a compact horizontal reading row, matching the mockup. */
.heritage-home>.nexo-resume{padding:15px 18px;margin-top:16px}.nexo-resume .nexo-section-head{margin-bottom:9px;padding-bottom:10px}.nexo-resume .nexo-section-head h2{font-size:22px}.nexo-resume .heritage-resume-label{font:14px var(--font-academic)}
.nexo-resume-body{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(200px,1.35fr) 28px;gap:14px;border:1px solid color-mix(in srgb,var(--heritage-gold) 22%,transparent);border-radius:9px;padding:8px 10px;align-items:center}.nexo-content-icon{width:43px;height:45px;border-radius:10px;background:var(--subtle)!important;border:0!important}.nexo-content-icon .heritage-ui-icon{width:26px;height:26px}.heritage-resume-info h3{font-size:16px;margin:2px 0}.heritage-resume-info small{font-size:11px}.heritage-resume-progress{display:flex;gap:11px;align-items:center;min-width:0}.heritage-resume-progress .progress{flex:1;height:9px;border-radius:7px;box-shadow:inset 0 1px 1px #fff8;border:1px solid var(--heritage-gold-soft);background:#d4ccb7}.heritage-resume-progress small{font-size:11px;white-space:nowrap}.nexo-resume-body>.heritage-resume-arrow{font:32px/.8 var(--font-academic);padding:0;color:var(--text)}
/* The full identity palette uses the large labeled light/dark plaques from the reference. */
.heritage-palette{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(300px,1.4fr) auto;gap:20px;padding:20px 25px;border:1px solid var(--heritage-gold);border-radius:10px;background:var(--paper-grain),var(--panel);box-shadow:inset 0 0 0 3px var(--panel),inset 0 0 0 4px color-mix(in srgb,var(--heritage-gold) 45%,transparent)}.heritage-palette h2{font-size:26px}.heritage-palette p{font-size:12px;max-width:300px}.heritage-palette>div:first-child::after{content:'— ◈ —';display:block;margin-top:8px;font:12px var(--font-academic);color:var(--heritage-gold)}.heritage-swatches{gap:18px;justify-content:space-evenly}.heritage-swatches button{width:57px;gap:8px}.heritage-swatches button>span{width:52px;height:36px;border-radius:6px}.heritage-swatches small{font-size:11px;line-height:1.1;position:relative}.heritage-swatches button[aria-pressed] small{padding-left:11px;text-align:left}.heritage-swatches button[aria-pressed] small::before{content:'';position:absolute;left:-3px;top:1px;width:8px;height:8px;border:1px solid var(--heritage-gold);border-radius:50%;box-shadow:inset 0 0 0 2px var(--panel);background:var(--text)}.heritage-swatches button[aria-pressed=true] small::before{box-shadow:inset 0 0 0 2px var(--panel),0 0 0 1px var(--heritage-gold)}.heritage-swatches button>.heritage-rainbow{width:37px;height:37px}
.heritage-mode-switch.is-expanded{border:0;border-left:1px solid var(--heritage-gold-soft);border-radius:0;padding:3px 0 3px 17px;gap:10px;background:none}.heritage-mode-switch.is-expanded>button{width:auto;min-width:92px;height:52px;padding:8px 12px;gap:9px;display:flex;border:1px solid var(--heritage-gold-soft);border-radius:6px;font:16px var(--font-academic);box-shadow:0 2px 4px var(--heritage-shadow);background:var(--panel);color:var(--text)}.heritage-mode-switch.is-expanded>button[data-heritage-mode=dark]{background:#262724;color:#f9efd5;border-color:#262724}.heritage-mode-switch.is-expanded .heritage-ui-icon{width:28px;height:28px;color:#99772e}.heritage-mode-switch.is-expanded [data-heritage-mode=dark] .heritage-ui-icon{color:#efe5c8;fill:#efe5c8}.heritage-mode-switch.is-expanded [aria-pressed=true]{outline:2px solid var(--heritage-gold);outline-offset:2px}
@media(min-width:701px) and (max-width:1100px){.heritage-dashboard{grid-template-columns:minmax(0,1fr)}.heritage-palette{grid-template-columns:1fr auto}.heritage-swatches{grid-column:1/-1;grid-row:2}.heritage-primary-actions>.btn{font-size:15px;padding-inline:7px;gap:8px}.heritage-welcome{grid-template-columns:125px minmax(0,1fr);gap:12px}.nexo-companion,.nexo-mascot-button,.nexo-mascot{width:125px}.heritage-welcome h1{font-size:31px}.heritage-welcome-copy>p:last-of-type{font-size:14px}.nexo-resume-body{grid-template-columns:38px minmax(0,1fr) 28px}.heritage-resume-progress{grid-column:2;grid-row:2}.heritage-resume-arrow{grid-column:3;grid-row:1/3}}
@media(max-width:700px){
 .content{padding:15px 15px 95px}.main::before{top:72px;height:280px;width:60%;opacity:.1}.main>.topbar{min-height:72px;height:72px;padding:8px 14px;gap:8px;background:var(--paper-grain),var(--panel)}.heritage-profile-label{display:none}.app:has(.content[data-page=inicio]) .topbar .breadcrumb{display:none}.app:has(.content[data-page=inicio]) .topbar .avatar{display:none}.app:has(.content[data-page=inicio]) .heritage-mobile-brand{display:flex;align-items:center;justify-content:center;gap:1px;min-width:0;flex:1;border:0;background:none;color:var(--text);padding:0;font:600 20px/1.1 var(--font-academic);letter-spacing:-.05em}.heritage-mobile-brand svg{width:52px;height:55px;flex:none}.topbar .heritage-mode-switch{margin-right:0}.topbar .heritage-mode-switch::after{display:none}.topbar .heritage-mode-switch button{width:25px;height:25px}.mobile-menu>summary{width:27px}
 .heritage-welcome{grid-template-columns:106px minmax(0,1fr);gap:10px;min-height:174px;padding:6px 0 11px}.nexo-companion{width:106px;max-width:106px}.nexo-mascot-button,.nexo-mascot{width:106px}.nexo-mascot{height:145px}.heritage-welcome-copy{padding:0}.heritage-greeting{font-size:15px;margin-bottom:6px}.heritage-welcome h1{font-size:26px;line-height:1.07;letter-spacing:-.035em;margin-bottom:8px}.heritage-welcome-copy>p:last-of-type{font-size:12px;line-height:1.35}.heritage-divider{margin-top:10px;max-width:210px}.heritage-divider .heritage-flourish{width:30px;height:12px}
 .heritage-primary-actions{grid-template-columns:1fr 1fr;gap:11px 10px;margin-top:4px;margin-bottom:18px}.heritage-primary-actions>.btn{min-height:46px;font-size:14px;padding:6px 7px;gap:7px;border-width:6px}.heritage-primary-actions>.btn:first-child{min-height:56px;font-size:17px;padding-inline:14px}.heritage-primary-actions>.btn>.heritage-ui-icon{width:23px;height:23px}.heritage-primary-actions>.btn:first-child>.heritage-ui-icon{width:26px;height:26px}.heritage-primary-actions>.btn:not(:first-child)>span:last-child{display:none}.heritage-primary-actions>.btn:not(:first-child){justify-content:center}
 .heritage-home .nexo-card{padding:15px 12px;border-radius:6px!important}.heritage-dashboard{gap:16px}.nexo-section-head h2{font-size:20px;gap:9px}.nexo-section-head .heritage-ui-icon{width:23px;height:23px}.nexo-section-head .link{font-size:12px}.nexo-folder-grid{gap:17px}.nexo-folder-cover.heritage-book{padding:10px 9px 12px 19px;aspect-ratio:4/5.65}.nexo-folder-cover.heritage-book .heritage-book-face{padding:23px 2px 7px;gap:7px}.nexo-folder-cover.heritage-book .heritage-book-title{font-size:15px;line-height:1.18}.heritage-book-face .heritage-book-seal{width:18px;height:18px;top:3px;right:0;font-size:7px}.heritage-book-face .heritage-book-label{font-size:7px;padding:6px 1px;border-radius:3px}.heritage-book-symbol svg{max-width:70px;max-height:76px;width:80%}.heritage-book-face .heritage-book-foot{font-size:5px}.nexo-folder-description>strong{font-size:12px!important}.nexo-folder-description small{font-size:10px}.heritage-new-folder{font-size:11px;margin-top:10px}
 .heritage-seals{gap:10px}.heritage-seal-art{width:86px}.heritage-seal strong{font-size:13px}.heritage-seal small{font-size:11px}.heritage-progress-title{font-size:14px}.heritage-progress-title strong{font-size:15px}.heritage-progress-track small{font-size:13px}
 .nexo-resume .nexo-section-head h2{font-size:18px}.nexo-resume .heritage-resume-label{font-size:12px}.nexo-resume-body{grid-template-columns:32px minmax(0,1fr) 20px!important;padding:7px;gap:5px 9px}.nexo-content-icon{width:30px;height:40px}.nexo-content-icon .heritage-ui-icon{width:23px}.heritage-resume-info h3{font-size:14px}.heritage-resume-info small{font-size:10px}.heritage-resume-progress{grid-column:2;grid-row:2;gap:7px}.heritage-resume-progress small{font-size:9px}.heritage-resume-progress .progress{height:7px}.nexo-resume-body>.heritage-resume-arrow{grid-column:3;grid-row:1/3;font-size:28px}
 .heritage-palette{grid-template-columns:1fr;gap:18px;padding:18px 15px}.heritage-palette>div:first-child{grid-column:1;grid-row:1}.heritage-palette h2{font-size:24px}.heritage-palette p{font-size:11px}.heritage-palette>.heritage-swatches{grid-column:1;grid-row:2;gap:10px}.heritage-swatches button{width:49px}.heritage-swatches button>span{width:42px;height:32px}.heritage-swatches small{font-size:10px}.heritage-palette>.heritage-mode-switch{grid-column:1;grid-row:3;border-left:0;border-top:1px solid var(--edge);justify-content:center;padding:15px 0 0}.heritage-mode-switch.is-expanded>button{min-width:115px;height:48px;justify-content:center;font-size:16px}.heritage-mode-switch.is-expanded .heritage-ui-icon{width:26px;height:26px}
 .mobile-nav{border-top:1px solid var(--heritage-gold-soft);box-shadow:none;padding-top:10px}.mobile-nav::before{content:'';position:absolute;top:-7px;left:calc(50% - 20px);width:40px;height:14px;background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 16' fill='none' stroke='%23ab8540'%3E%3Cpath d='m22.5 2 3 6-3 6-3-6 3-6ZM16 8c-8-8-8 8 0 0Zm13 0c8-8 8 8 0 0Z'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}.mobile-nav button .mobile-nav-label{font:10px var(--font-academic)!important}.mobile-nav button.active{box-shadow:none}
}
@media(max-width:359px){.content{padding-inline:11px}.heritage-mobile-brand svg{width:42px;height:45px}.app:has(.content[data-page=inicio]) .heritage-mobile-brand{font-size:18px}.heritage-welcome{grid-template-columns:87px minmax(0,1fr);gap:7px;min-height:166px}.nexo-companion{width:87px;max-width:87px}.nexo-mascot-button,.nexo-mascot{width:87px}.nexo-mascot{height:130px}.heritage-welcome h1{font-size:24px}.heritage-greeting{font-size:14px}.heritage-welcome-copy>p:last-of-type{font-size:11px}.heritage-primary-actions>.btn{font-size:12px;gap:6px}.nexo-folder-cover.heritage-book .heritage-book-title{font-size:13px}.heritage-book-face .heritage-book-label{font-size:6px}.nexo-folder-grid{gap:13px}}
@media(min-width:701px){.app:has(.content[data-page=inicio]) .topbar .back-button{display:none}.main>.topbar .breadcrumb-origin{font-size:13px}.main>.topbar .breadcrumb b{font-size:13px}}
/* Full-size vector plaque borders keep the notches and gold lines crisp at every width. */
.heritage-primary-actions>.btn{border:0;border-image:none;position:relative;padding:14px 22px;background-clip:border-box;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);filter:drop-shadow(0 2px 2px var(--heritage-shadow));min-height:59px}
.heritage-primary-actions>.btn::before{content:'';position:absolute;inset:0;background:url('/academic/plaque-frame.svg') center/100% 100% no-repeat;pointer-events:none}
.heritage-welcome h1{font-size:clamp(31px,3.1vw,46px)}
.topbar .avatar:not(:has(img)){background:var(--accent);color:var(--on-accent,#fff)}
:root[data-theme=dark] .heritage-mobile-brand{--brand-crest-accent:color-mix(in srgb,var(--accent) 72%,white)}
@media(max-width:700px){.heritage-primary-actions>.btn{min-height:46px;padding:11px 12px}.heritage-primary-actions>.btn:first-child{min-height:56px;padding:14px 21px}.heritage-welcome h1{font-size:26px}}
@media(max-width:359px){.heritage-welcome h1{font-size:24px}}
/* Keep the book cover itself as the home tile, like the approved library shelf. */
.heritage-home .nexo-folder-description{display:none}
.heritage-home .nexo-folder-grid .nexo-folder{height:auto}
:root[data-theme=dark] .sidebar::after{opacity:.08;filter:sepia(.6) brightness(1.1)}
:root[data-theme=dark] .main::before{opacity:.09;filter:sepia(.6) brightness(1.2)}
/* Keep the approved detailed crest intact; the live wordmark supplies its caption. */
.brand .brand-mark.brand-crest{width:120px;height:106px;flex-basis:106px}
.brand-crest-art,.heritage-mobile-brand>svg{overflow:hidden}
.heritage-engraved-seal{overflow:visible}
@media(max-width:700px){.auth-card .brand .brand-mark.brand-crest{width:110px;height:96px;flex-basis:96px}}
