/* Public website controls; preferences are independent from the internal dashboard. */
.site-header .nav-login{min-height:40px;padding:8px 14px;gap:9px;font-size:12px;border-radius:8px;box-shadow:0 3px 9px #9b001118}
.site-header .nav-login .bi{font-size:14px}.site-header .nav-login:hover{transform:none}
.site-header .nav-login-mobile{align-self:flex-start}
.web-theme{position:relative}.web-theme-toggle{display:grid;place-items:center;width:40px;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#faf7f8;color:var(--ink)}
.web-theme-toggle svg,.web-theme-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.web-theme-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:46;min-width:170px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 14px 36px #1c103124}
.web-theme-menu[hidden]{display:none}.web-theme-menu p{font-size:9px;font-weight:750;letter-spacing:.08em;color:var(--muted);padding:4px 8px 8px;text-transform:uppercase}
.web-theme-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;min-height:42px;border:0;border-radius:7px;background:transparent;color:inherit;font-size:12px;text-align:left}
.web-theme-menu button:hover,.web-theme-menu button[aria-checked=true]{background:#f7e7e9;color:#9b0011}.web-theme-check{margin-left:auto;visibility:hidden}.web-theme-menu button[aria-checked=true] .web-theme-check{visibility:visible}
.web-theme-toggle .web-moon,.brand .web-logo-dark{display:none}html[data-web-theme=dark] .web-theme-toggle .web-sun,html[data-web-theme=dark] .brand .web-logo-light{display:none}html[data-web-theme=dark] .web-theme-toggle .web-moon,html[data-web-theme=dark] .brand .web-logo-dark{display:block}
html[data-web-theme=dark]{--ink:#edf1f8;--muted:#b9c1d0;--brand:#f6a7b3;--brand-strong:#7b0010;--cream:#111a2b;--line:#334056;background:#0b1220;color:var(--ink)}
html[data-web-theme=dark] body{background:#0b1220;color:var(--ink)}
html[data-web-theme=dark] .site-header{background:#101a2bf5}
html[data-web-theme=dark] :is(.nav-submenu,.language-menu,.web-theme-menu){background:#172238;border-color:var(--line)}
html[data-web-theme=dark] :is(.menu-toggle,.language-trigger,.web-theme-toggle){background:#1b293f;color:var(--ink);border-color:var(--line)}
html[data-web-theme=dark] :is(.nav-submenu a:hover,.nav-submenu a:focus-visible,.language-menu button:hover,.language-menu button:focus-visible,.language-menu button[aria-checked=true],.web-theme-menu button:hover,.web-theme-menu button[aria-checked=true]){background:#3e263b;color:#ffbac5}
html[data-web-theme=dark] .nav-group{border-color:var(--line)}
html[data-web-theme=dark] :is(.hero-topline,.section-kicker,.slide-count,.art-caption,.art-chip small,.art-bottom,.empty-label){color:#bbc2d1}
html[data-web-theme=dark] .button-primary{background:linear-gradient(135deg,#7b0010,#aa0918);color:#fff}
html[data-web-theme=dark] .button-primary:hover{background:linear-gradient(135deg,#970016,#b8152c)}
html[data-web-theme=dark] .button-outline{border-color:var(--line);color:var(--ink)}
html[data-web-theme=dark] .slide-dot span{background:#536076}html[data-web-theme=dark] .slide-dot[aria-current=true] span{background:#f6a7b3}
html[data-web-theme=dark] .icon-button{border-color:var(--line)}html[data-web-theme=dark] .icon-button:hover{background:#29354b}
html[data-web-theme=dark] .hero-art{background:linear-gradient(145deg,#252841,#34233d)}
html[data-web-theme=dark] .hero-art[data-theme=pengabdian]{background:linear-gradient(145deg,#352b32,#36243c)}
html[data-web-theme=dark] .hero-art[data-theme=kolaborasi]{background:linear-gradient(145deg,#1c3045,#36243c)}
html[data-web-theme=dark] .orbit{border-color:#94a3b83b}
html[data-web-theme=dark] :is(.art-center,.art-chip){background:#182439;border-color:#41506a;color:var(--ink)}
html[data-web-theme=dark] .chip-symbol{background:#3e263b;color:#ffbac5}
html[data-web-theme=dark] .topic-tags span{background:#19263a;border-color:var(--line);color:#d0d7e3}
html[data-web-theme=dark] .program-section{background:#101a2b}
html[data-web-theme=dark] :is(.program-card,.news-card,.news-detail-body){background:#172238;border-color:var(--line)}
html[data-web-theme=dark] .program-card:first-child{background:linear-gradient(135deg,#1b2454,#442039)}
html[data-web-theme=dark] .news-empty{background:#172238;border-color:#526078}
html[data-web-theme=dark] .empty-paper{background:#203049;border-color:#526078}html[data-web-theme=dark] .empty-paper>span{background:#60718a}html[data-web-theme=dark] .empty-paper i{background:#3e263b;color:#ffbac5}
html[data-web-theme=dark] .news-detail-main{background:linear-gradient(180deg,var(--cream),#0b1220 440px)}
html[data-web-theme=dark] .news-detail-body{color:var(--ink)}html[data-web-theme=dark] .news-detail-body a{color:#ffb1c1}
html[data-web-theme=dark] .wp-public{background:#0b1220;color:var(--ink)}
html[data-web-theme=dark] :is(.wp-public-kicker,.wp-public-content a){color:#ffb1c1}
html[data-web-theme=dark] .wp-public-summary{color:var(--muted)}
html[data-web-theme=dark] .wp-public-content{background:#172238;border-color:var(--line)}
html[data-web-theme=dark] :is(.wp-public-content h2,.wp-public-content h3){color:#f4d5e7}
html[data-web-theme=dark] .wp-official{background:#172238;border-color:#41506a}
html[data-web-theme=dark] .wp-official h2{background:linear-gradient(135deg,#342b59,#552946)}
html[data-web-theme=dark] .wp-official small{color:var(--muted)}
html[data-web-theme=dark] .wp-chart-level+.wp-chart-level:before{background:#526078}
html[data-web-theme=dark] .site-footer{background:linear-gradient(125deg,#10172e,#28162f)}
@media(max-width:380px){.header-actions{gap:6px}.site-header .brand{gap:7px}.site-header .brand img{width:34px;height:40px}.site-header .brand strong{font-size:20px}.site-header .brand small{font-size:7px;letter-spacing:1.3px}.site-header .language-trigger{gap:5px;padding-inline:7px}.site-header .language-chevron{display:none}}
