:root{--wine:#800d25;--wine-dark:#540b1b;--gold:#d6b45d;--ink:#202a3c;--muted:#536075;--line:#e1e5eb;--paper:#f6f8fb;font-family:"Noto Sans Thai",Tahoma,sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #176aa5;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}.container{width:min(1240px,calc(100% - 48px));margin-inline:auto}.icon-library,.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link{position:fixed;left:16px;top:-100px;z-index:10;background:#fff;padding:12px}.skip-link:focus{top:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 22px;font-weight:600;font-size:14px;border-radius:8px;border:1px solid transparent;white-space:nowrap}.button svg{width:20px;height:20px}.login-button{background:var(--wine);color:#fff}.login-button:hover{background:var(--wine-dark)}.masthead{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:22px}.brand img{width:150px;height:72px;object-fit:contain}.brand-copy{border-left:1px solid var(--line);padding-left:22px;display:flex;flex-direction:column;gap:5px}.brand-copy strong{color:var(--wine);font-size:19px}.brand-copy>span{font-size:11px;letter-spacing:.06em;color:var(--muted)}.navigation{background:var(--wine);color:#fff}.nav-inner{display:flex;align-items:stretch}.nav-home,.nav-links>a{display:flex;align-items:center;justify-content:center;padding:17px 14px;font-size:13px;font-weight:500;white-space:nowrap}.nav-links{display:flex;flex:1}.nav-links>a{flex:1}.navigation a:hover,.navigation a.active{background:#620b1c}.navigation a:focus-visible{outline-color:var(--gold);outline-offset:-4px}.nav-toggle{display:none}.hero{background:var(--wine-dark);color:#fff;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;right:-20%;top:-90%;width:75%;aspect-ratio:1;border:1px solid #ffffff14;border-radius:50%;pointer-events:none}.hero-inner{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;min-height:475px;gap:40px;padding-block:54px 70px}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.09em;color:var(--wine)}.hero .eyebrow{color:#ecd59c;font-size:14px;letter-spacing:.02em}.hero h1{font-size:clamp(40px,4.3vw,64px);line-height:1.35;letter-spacing:-.025em;margin-top:16px;font-weight:600}.hero h1 span{color:#efcf87}.hero-description{font-size:17px;line-height:1.85;color:#f4e7eb;margin-top:20px}.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:30px}.gold-button{background:#e3c16e;color:#40220c}.gold-button:hover{background:#efd291}.hero-login{font-size:14px;padding-block:10px}.hero-login:hover{text-decoration:underline}.hero-art{height:340px;position:relative;display:flex;align-items:center;justify-content:center}.art-orbit{position:absolute;width:360px;height:360px;border:1px solid #cda55855;border-radius:50%}.art-orbit:before{content:"";position:absolute;inset:20px;border:1px solid #ffffff16;border-radius:50%}.art-paper{width:260px;min-height:310px;transform:rotate(7deg);background:#fff;color:var(--wine-dark);padding:26px;border-radius:5px;box-shadow:0 24px 52px #25020c66;position:relative;z-index:1}.paper-kicker{font-size:10px;letter-spacing:.15em;font-weight:700}.paper-icon{display:block;width:48px;height:48px;margin-block:20px 12px;color:var(--wine);stroke-width:1.3}.art-paper strong{font-size:24px;line-height:1.5}.paper-rule{height:2px;width:42px;background:#b99a4f;margin-block:16px 10px}.art-paper>span:last-of-type{font-size:8px;letter-spacing:.12em;color:var(--muted)}.paper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:15px}.paper-grid span{height:10px;background:#f0e6e8}.paper-grid span:nth-child(3n){background:#e8d9b7}.art-seal{position:absolute;right:6px;bottom:4px;z-index:2;width:128px;height:128px;border-radius:50%;background:#d6b45d;color:#4c2912;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;border:6px solid var(--wine-dark);outline:1px solid #d6b45d55;transform:rotate(-9deg)}.art-seal svg{width:36px;height:36px}.art-seal span{font-size:11px;font-weight:600}.services-section{position:relative;padding:30px 30px 36px;background:#fff;margin-top:-30px;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px #19213b08}.services-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.services-heading h2{font-size:24px;margin-top:7px}.services-heading>p{font-size:13px;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);column-gap:28px}.service-link{display:flex;align-items:center;gap:14px;padding:24px 0;border-top:1px solid var(--line)}.service-icon{color:var(--wine);flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;background:#faf1f3;border-radius:10px}.service-text h3{font-size:15px;line-height:1.5}.service-text p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}.service-arrow{width:18px;height:18px;color:var(--wine);flex-shrink:0;margin-left:auto;transition:transform .15s ease-out}.service-link:hover h3{color:var(--wine)}.service-link:hover .service-arrow{transform:translateX(3px)}.member-section{margin-block:48px 54px;padding:28px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line)}.member-section h2{font-size:22px;margin-top:8px}.member-section p:last-child{font-size:14px;color:var(--muted);margin-top:8px}.site-footer{background:var(--paper);border-top:1px solid var(--line);font-size:13px}.footer-inner{padding-block:28px;display:flex;justify-content:space-between;align-items:center;gap:24px}.footer-inner p{font-size:12px;margin-top:5px;color:var(--muted)}.footer-inner a{font-size:12px;color:var(--wine);font-weight:500}.information-page{padding-block:28px 64px;min-height:65vh}.breadcrumbs{display:flex;gap:12px;color:var(--muted);font-size:12px;margin-bottom:30px}.breadcrumbs a{color:var(--wine)}.page-heading{margin-bottom:26px}.page-heading h1{font-size:30px;margin-top:8px}.page-heading>p:last-child{font-size:14px;color:var(--muted);margin-top:10px}.public-filters{display:flex;flex-wrap:wrap;align-items:end;gap:18px;background:var(--paper);border:1px solid var(--line);padding:22px;border-radius:10px;margin-bottom:28px}.public-filters label{display:flex;flex-direction:column;gap:8px;flex:1 1 160px;font-size:13px;font-weight:600}.public-filters .filter-wide{flex:2 1 280px}.public-filters select{width:100%;min-height:44px;background:#fff;color:var(--ink);border:1px solid #b9c1cc;border-radius:6px;padding:9px 30px 9px 12px;font-size:14px}.filter-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.filter-actions>a{font-size:13px;color:var(--muted);padding-block:12px}.public-results{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:24px}.result-heading{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.result-heading h2{font-size:17px}.result-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{background:var(--paper);color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}th,td{padding:13px 20px;border-top:1px solid var(--line);line-height:1.7}td{min-width:100px}tbody tr:hover{background:#fbfcfe}.empty-state{padding:60px 24px;text-align:center;background:var(--paper);border-radius:10px}.empty-state>svg{width:40px;height:40px;color:var(--wine);margin-bottom:16px}.empty-state h2{font-size:18px}.empty-state p,.empty-results{font-size:14px;color:var(--muted);margin-top:10px}.empty-results{padding:32px 22px;border-top:1px solid var(--line);margin:0}.notice{background:#fff8e8;border:1px solid #e9d39e;padding:18px;border-radius:8px;font-size:14px;color:#684608}.result-limit{padding:12px 20px;font-size:12px;color:var(--muted)}
@media(min-width:1440px){.hero-inner{min-height:500px}.art-seal{right:35px}}
@media(max-width:1100px){.brand-copy strong{font-size:16px}.nav-home,.nav-links>a{font-size:11px;padding:16px 9px}.service-grid{column-gap:20px}.service-link{gap:10px}.hero-art{transform:scale(.9)}}
@media(max-width:800px){.container{width:calc(100% - 32px)}.masthead{min-height:88px;gap:12px}.brand{gap:12px}.brand img{width:110px;height:62px}.brand-copy{padding-left:12px}.brand-copy strong{font-size:14px;max-width:210px}.brand-copy>span{font-size:9px}.masthead .button{padding:10px 12px;font-size:12px;gap:7px}.nav-inner{flex-wrap:wrap;justify-content:space-between}.nav-toggle{display:flex;align-items:center;gap:18px;background:transparent;color:#fff;border:0;font-size:13px;padding:12px}.nav-home{font-size:13px}.nav-links{display:none;flex:1 1 100%;flex-direction:column;padding-bottom:8px}.nav-links.is-open{display:flex}.nav-links>a{justify-content:start;font-size:14px;min-height:44px;padding:12px}.hero-inner{min-height:420px;gap:10px;padding-block:40px 64px;grid-template-columns:1.2fr 1fr}.hero-art{transform:scale(.75);transform-origin:center right}.hero h1{font-size:42px}.hero-description{font-size:15px}.hero-actions{gap:14px}.hero .button{font-size:12px;padding-inline:14px}.hero-login{font-size:12px}.service-grid{grid-template-columns:repeat(2,1fr)}.services-section{padding:24px;margin-top:-24px}.services-heading{align-items:start;flex-direction:column;gap:10px}.footer-inner{align-items:start;flex-direction:column;gap:18px}}
@media(max-width:540px){.brand-copy{display:none}.brand img{width:136px}.masthead{min-height:82px}.hero-inner{grid-template-columns:1fr;min-height:360px;padding-block:38px 65px}.hero h1{font-size:42px;line-height:1.35}.hero h1 br{display:none}.hero-art{display:none}.hero-description{margin-top:18px}.hero-actions{margin-top:24px}.service-grid{grid-template-columns:1fr}.services-heading h2{font-size:22px}.service-link{padding:20px 0}.service-text p{font-size:13px}.member-section{flex-direction:column;align-items:start;margin-block:30px}.member-section h2{font-size:20px}.page-heading h1{font-size:26px}.public-filters{padding:16px;gap:16px}.public-filters label,.public-filters .filter-wide{flex-basis:100%}.filter-actions{width:100%;justify-content:space-between}.breadcrumbs{margin-bottom:24px}.result-heading{padding:16px}.result-heading h2{font-size:15px}th,td{padding:12px 16px}}
/* Enlarge the existing logo inside a fixed slot; keep the masthead and navigation heights. */
.masthead .brand{position:relative;display:block;flex:0 1 240px;width:240px;height:80px;overflow:hidden}
.masthead .brand img{position:absolute;left:50%;top:50%;width:240px;max-width:none;height:115px;object-fit:contain;transform:translate(-50%,-50%)}
@media(max-width:800px){.masthead .brand{flex-basis:170px;width:170px;height:68px}.masthead .brand img{width:200px;height:96px}}
@media(max-width:540px){.masthead .brand{flex-basis:150px;width:150px;height:64px}.masthead .brand img{width:190px;height:91px}}
/* Masthead spans the page while the content and navigation keep their original width. */
.site-header{background-color:#fff;background-image:linear-gradient(90deg,#fff 18%,#ffffffb3 55%,#ffffff40),repeating-linear-gradient(135deg,#800d2507 0 1px,transparent 1px 22px),radial-gradient(ellipse at right top,#d6b45d14,transparent 65%)}
.container.masthead{width:calc(100% - 64px)}
.masthead>.login-button{flex-shrink:0;min-height:46px;gap:12px;padding:8px 22px 8px 10px;border-radius:999px;border:1px solid #9b2942;background:linear-gradient(150deg,#991333,#790c24);box-shadow:0 5px 14px #800d251c,inset 0 1px 0 #ffffff24;transition:background .15s ease-out,box-shadow .15s ease-out,transform .15s ease-out}
.masthead>.login-button>svg{box-sizing:content-box;width:19px;height:19px;padding:6px;border-radius:50%;background:#ffffff16;stroke-width:1.8}
.masthead>.login-button:hover{background:linear-gradient(150deg,#a6183c,#680b20);box-shadow:0 7px 18px #800d2529;transform:translateY(-1px)}
.masthead>.login-button:active{transform:translateY(0);box-shadow:0 2px 6px #800d2520}
@media(max-width:800px){.container.masthead{width:calc(100% - 32px)}.masthead>.login-button{gap:8px;padding:7px 15px 7px 8px;font-size:12px}.masthead>.login-button>svg{width:17px;height:17px;padding:5px}}
.site-header{position:relative}
.mourning-corner{position:absolute;top:0;left:0;width:72px;height:72px;overflow:hidden;pointer-events:none}
.mourning-corner:before{content:"";position:absolute;top:23px;left:-23px;width:110px;height:13px;background:#333;transform:rotate(-45deg)}
.mourning-badge{position:absolute;left:5px;top:5px;display:grid;place-items:center;width:46px;height:46px;border:2px solid #444;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002}
.mourning-badge svg{width:26px;height:34px;fill:#292929;stroke:none}
@media(max-width:800px){.mourning-corner{width:48px;height:48px}.mourning-corner:before{top:13px;left:-29px;width:90px;height:10px}.mourning-badge{left:3px;top:3px;width:32px;height:32px;border-width:1.5px}.mourning-badge svg{width:18px;height:25px}.masthead .brand{margin-inline-start:20px}}
.masthead-identity{display:flex;align-items:center;gap:8px;min-width:0}
.masthead-identity .brand{flex-shrink:0}
.institution-name{display:flex;flex-direction:column;gap:3px;min-width:0}
.institution-name strong{font-size:18px;font-weight:700;line-height:1.5;color:var(--wine)}
.institution-name>span{font-size:10px;font-weight:500;line-height:1.6;letter-spacing:.025em;color:#b91c47}
@media(max-width:1100px){.institution-name strong{font-size:15px}.institution-name>span{font-size:9px}}
@media(max-width:700px){.institution-name{display:none}.masthead-identity{flex:1;min-width:0}.masthead-identity .brand{flex-shrink:1}}
/* Local replacement logos retain their full proportions without cropping. */
.masthead .brand img{width:100%;height:100%;object-fit:contain}
.masthead-identity{gap:14px}
.masthead-identity .brand{flex:0 0 84px;width:84px}
.masthead-identity .brand img{object-position:right center}
.curriculum-overview{border:1px solid var(--line);border-top:3px solid var(--wine);border-radius:8px;padding:24px;margin-bottom:28px}
.curriculum-overview h2{font-size:22px;line-height:1.6;margin-top:10px}.curriculum-level{font-size:14px;color:var(--muted);margin-top:8px}
.curriculum-facts{display:flex;flex-wrap:wrap;gap:24px 48px;border-top:1px solid var(--line);margin:20px 0 0;padding-top:18px}.curriculum-facts dt{font-size:12px;color:var(--muted)}.curriculum-facts dd{font-size:22px;font-weight:600;margin:6px 0 0}
.curriculum-category{margin-bottom:28px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.category-heading,.group-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 20px}.category-heading{background:#f8eff1;color:var(--wine)}.category-heading h2{font-size:17px;line-height:1.6}.category-heading>span,.group-heading>span{font-size:13px;font-weight:600;white-space:nowrap}.group-heading{background:var(--paper);border-top:1px solid var(--line)}.group-heading h3{font-size:15px;line-height:1.6}.curriculum-group+.curriculum-group{border-top:1px solid var(--line)}.curriculum-course-code{width:160px;font-weight:600;white-space:nowrap}.curriculum-course-credits{width:140px;white-space:nowrap}.curriculum-category table td{min-width:0}.curriculum-category table td:nth-child(2){min-width:240px}
@media(max-width:540px){.curriculum-overview{padding:18px}.curriculum-overview h2{font-size:19px}.curriculum-facts{gap:18px 28px}.category-heading,.group-heading{padding:14px 16px;flex-wrap:wrap;gap:4px 16px}.category-heading h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Public masthead: restrained institutional identity and clear navigation. */
.site-header{background:#fff;border-top:0;box-shadow:0 3px 8px #25334b08}
.container.masthead{min-height:100px;gap:28px;padding-block:10px}
.masthead-identity{gap:16px}
.masthead-identity .brand{height:76px;overflow:visible}
.masthead .brand img{position:static;transform:none;object-position:center}
.institution-name{gap:5px}
.institution-name strong{font-size:18px;font-weight:600;line-height:1.55}
.institution-name>span{font-size:10px;color:#697284;letter-spacing:.035em;line-height:1.6}
.masthead>.login-button{min-height:46px;padding:11px 19px;gap:10px;border:0;border-radius:12px;background:var(--wine);box-shadow:0 3px 7px #800d2524;font-size:13px;font-weight:500;transition:background .15s ease-out,transform .15s ease-out}
.masthead>.login-button>svg{box-sizing:border-box;width:20px;height:20px;padding:0;border-radius:0;background:none;stroke-width:1.7}
.masthead>.login-button:hover{background:var(--wine-dark);box-shadow:0 3px 7px #800d2524;transform:translateY(-1px)}
.navigation{background:var(--wine);border-top:1px solid #ffffff14}
.navigation .nav-inner{width:calc(100% - 64px);max-width:1680px;gap:5px;padding-block:7px;align-items:center}
.nav-links{gap:5px;min-width:0;align-items:center}
.nav-home,.nav-links>a{gap:9px;min-height:42px;padding:11px 15px;border-radius:8px;font-size:12px;font-weight:500;line-height:1.6;transition:background .15s ease-out,color .15s ease-out}
.nav-home{flex-shrink:0}
.nav-home>svg,.nav-links>a>svg{width:17px;height:17px;flex-shrink:0;stroke-width:1.6;color:#edd6de}
.navigation a:hover{background:#ffffff14}
.navigation a.active{background:#fff;color:var(--wine)}
.navigation a.active>svg{color:var(--wine)}
.navigation a:focus-visible{outline:2px solid #f0d58f;outline-offset:1px}
.navigation .nav-toggle svg{width:20px;height:20px}
@media(min-width:1181px) and (max-width:1400px){.nav-home,.nav-links>a{padding-inline:10px;gap:7px;font-size:11px}}
@media(max-width:1180px){
    .navigation .nav-inner{flex-wrap:wrap;justify-content:space-between;gap:4px;padding-block:7px}
    .navigation .nav-toggle{display:flex;align-items:center;gap:14px;min-height:42px;padding:9px 13px;background:transparent;color:#fff;border:1px solid #ffffff38;border-radius:8px;font-size:13px;line-height:1.6}
    .navigation .nav-toggle:hover,.navigation .nav-toggle[aria-expanded="true"]{background:#ffffff14}
    .navigation .nav-links{display:none;flex:1 1 100%;flex-direction:column;align-items:stretch;gap:4px;margin-top:5px;padding:7px 0 2px;border-top:1px solid #ffffff26}
    .navigation .nav-links.is-open{display:flex}
    .navigation .nav-links>a{flex:none;justify-content:flex-start;font-size:13px;padding:11px 14px;min-height:44px}
}
@media(max-width:800px){.container.masthead{width:calc(100% - 32px);min-height:88px;padding-block:8px;gap:16px}.masthead-identity{gap:12px}.masthead-identity .brand{height:64px}.institution-name strong{font-size:14px}.institution-name>span{font-size:8px;letter-spacing:0}.masthead>.login-button{padding:10px 14px;font-size:12px;gap:8px}.navigation .nav-inner{width:calc(100% - 32px)}}
@media(max-width:540px){.container.masthead{min-height:82px}.masthead-identity .brand{width:70px;flex-basis:70px;height:60px}.masthead>.login-button{min-height:42px;padding:10px 12px;border-radius:10px}.masthead>.login-button>svg{width:18px;height:18px}.nav-home{font-size:13px}}
@media(prefers-reduced-motion:reduce){.masthead>.login-button,.nav-home,.nav-links>a{transition:none;transform:none}}
@media print{.site-header{box-shadow:none}.navigation,.masthead>.login-button,.mourning-corner{display:none}}

/* Text navigation with understated separators between menu items. */
@media(min-width:1181px){
    .navigation .nav-inner,.navigation .nav-links{gap:0}
    .navigation .nav-links>a{position:relative;margin-left:1px}
    .navigation .nav-links>a::before{content:"";position:absolute;left:-1px;top:50%;width:1px;height:20px;background:#ffffff38;transform:translateY(-50%);pointer-events:none}
    .navigation .nav-home,.navigation .nav-links>a{margin-inline-end:5px;margin-inline-start:5px}
    .navigation .nav-links>a::before{left:-6px}
}
@media(max-width:1180px){
    .navigation .nav-links{gap:0}
    .navigation .nav-links>a+a{border-top:1px solid #ffffff26;border-radius:0}
    .navigation .nav-links>a.active{border-radius:8px}
}

/* The masthead no longer needs space for the mourning ribbon. */
@media(max-width:800px){.masthead .brand{margin-inline-start:0}}
