.unified-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.97);border-bottom:1px solid #e4dce4;backdrop-filter:blur(12px);font-family:'IBM Plex Sans Thai',system-ui,sans-serif}.unified-inner{max-width:1380px;min-height:86px;padding:12px 28px;margin:auto;display:flex;align-items:center;gap:24px;justify-content:space-between}.unified-brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#512344;flex-shrink:0}.unified-brand img{border-radius:12px;object-fit:contain;background:white}.unified-brand span{display:grid;line-height:1.45}.unified-brand strong{font-size:17px}.unified-brand small{font-size:11px;color:#695b6b}.unified-desktop{display:flex;gap:7px;align-items:center}.nav-group{position:relative}.nav-group>summary{cursor:pointer;list-style:none;padding:12px 9px;color:#493b50;font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}.nav-group>summary::-webkit-details-marker,.unified-mobile>summary::-webkit-details-marker{display:none}.nav-group[open]>summary{color:#8a294e;background:#f7eff4;border-radius:10px}.nav-dropdown{position:absolute;top:calc(100% + 8px);left:0;min-width:245px;padding:8px;background:white;box-shadow:0 18px 45px #351b3422;border:1px solid #e4dce4;border-radius:14px;display:grid;gap:3px}.nav-group:last-child .nav-dropdown{left:auto;right:0}.nav-dropdown a{display:block;color:#493b50;text-decoration:none;padding:12px 14px;font-size:15px;line-height:1.55;border-radius:8px;white-space:normal}.nav-dropdown a:hover{background:#f7eff4;color:#8a294e}.unified-mobile{display:none}.unified-header :focus-visible{outline:3px solid #c74570;outline-offset:3px}.unified-mobile>summary{cursor:pointer;list-style:none;font-size:14px;color:#512344;min-height:44px;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #d9c6d5;border-radius:10px}.unified-mobile>nav{position:absolute;left:0;right:0;top:100%;padding:12px 20px;background:#fff;border-bottom:1px solid #d9c6d5;box-shadow:0 16px 32px #351b3415;max-height:75vh;overflow-y:auto}.unified-mobile .nav-dropdown{position:static;min-width:0;box-shadow:none;background:#faf5f8;margin-bottom:8px}.unified-mobile .nav-group>summary{justify-content:space-between;font-size:16px}.unified-mobile .nav-group:last-child .nav-dropdown{right:auto}
@media(max-width:1120px){.unified-desktop{display:none}.unified-mobile{display:block}.unified-inner{padding:10px 20px;min-height:76px}}
@media(max-width:400px){.unified-inner{padding:9px 12px;gap:10px}.unified-brand{gap:8px}.unified-brand img{width:39px;height:39px}.unified-brand strong{font-size:15px}.unified-brand small{font-size:9px}}

/* The account entry has the same treatment on HTML and application pages. */
.unified-header .header-account{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:12px;background:#542044;color:#fff!important;text-decoration:none;white-space:nowrap;font-size:.9rem;font-weight:700}
@media(max-width:720px){.unified-header .header-account{font-size:.85rem;padding:10px 12px}}

.unified-header .header-account>svg{display:none}
@media(max-width:720px){
 .unified-inner{gap:10px}
 .unified-brand{min-width:0;flex:1}
 .unified-brand img{flex-shrink:0}
 .unified-brand small{display:none}
 .unified-header .header-account{width:44px;min-width:44px;padding:10px;flex-shrink:0}
 .unified-header .header-account>span{display:none}
 .unified-header .header-account>svg{display:block;width:21px;height:21px}
 .unified-mobile{flex-shrink:0}
 .unified-mobile>summary{white-space:nowrap}
}
