/* SPADA STIKes Dharma Husada — tampilan 2.0 (tanpa framework/CDN). */
:root {
	--p: #0b6bcb; --p-rgb: 11, 107, 203; --p-d: #08539e;
	--a: #10b981; --a-rgb: 16, 185, 129;
	--w: #f59e0b;
	--bg: #f5f7fb; --sf: #fff; --sf2: #f8fafc;
	--tx: #0f172a; --tx2: #334155; --mu: #64748b;
	--bd: #e2e8f0; --bd2: #cbd5e1;
	--ps: rgba(var(--p-rgb), .09);
	--r: 16px; --r-sm: 10px;
	--sh: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
	--sh-lg: 0 20px 50px rgba(15, 23, 42, .14);
	--f: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--ez: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #0b1120; --sf: #111a2e; --sf2: #0f172a; --tx: #e2e8f0; --tx2: #cbd5e1; --mu: #94a3b8;
	--bd: #1e293b; --bd2: #334155; --ps: rgba(var(--p-rgb), .2);
	--sh: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3); --sh-lg: 0 20px 50px rgba(0, 0, 0, .5);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b1120; --sf: #111a2e; --sf2: #0f172a; --tx: #e2e8f0; --tx2: #cbd5e1; --mu: #94a3b8;
		--bd: #1e293b; --bd2: #334155; --ps: rgba(var(--p-rgb), .2);
		--sh: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3); --sh-lg: 0 20px 50px rgba(0, 0, 0, .5);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--f); color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--p); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--tx); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(var(--p-rgb), .5); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--sf); padding: 10px 16px; border-radius: 10px; box-shadow: var(--sh-lg); }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mu); }
.ic { flex-shrink: 0; vertical-align: -3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p); }
.card { background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .7em 1.25em; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; color: #fff; background: var(--p); border: 1px solid transparent; border-radius: 12px; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--p-d); text-decoration: none; color: #fff; box-shadow: 0 8px 20px rgba(var(--p-rgb), .28); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5em .95em; font-size: .88rem; border-radius: 10px; }
.btn-ghost { background: var(--sf); color: var(--tx2); border-color: var(--bd2); }
.btn-ghost:hover { background: var(--ps); color: var(--p); border-color: transparent; box-shadow: none; }
.btn-light { background: #fff; color: var(--p-d); }
.btn-light:hover { background: #f1f5f9; color: var(--p-d); }
.btn-block { width: 100%; }
.ibtn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--tx2); cursor: pointer; }
.ibtn:hover { background: var(--ps); color: var(--p); }
.i-light { display: none; }
:root[data-theme="dark"] .i-light { display: inline-flex; } :root[data-theme="dark"] .i-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .i-light { display: inline-flex; } :root:not([data-theme]) .i-dark { display: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--bd); transition: box-shadow .2s; }
:root[data-theme="dark"] .top { background: rgba(17, 26, 46, .86); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { background: rgba(17, 26, 46, .86); } }
.top.is-scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-logo { max-height: 44px; width: auto; display: block; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--p), var(--a)); box-shadow: 0 6px 16px rgba(var(--p-rgb), .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.1rem; letter-spacing: .02em; }
.brand-text small { font-size: .75rem; color: var(--mu); }
.nav { display: flex; gap: 2px; }
.nav a { padding: .55em .9em; border-radius: 10px; color: var(--tx2); font-weight: 600; font-size: .94rem; }
.nav a:hover { background: var(--ps); color: var(--p); text-decoration: none; }
.top-act { display: flex; align-items: center; gap: 6px; }
.nav-btn { display: none; }
.menu-user { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--bd); border-radius: 999px; background: transparent; color: var(--tx); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.user-btn:hover { background: var(--ps); }
.user-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 6px; background: var(--sf); border: 1px solid var(--bd); border-radius: 14px; box-shadow: var(--sh-lg); animation: pop .18s var(--ez); }
.user-panel[hidden] { display: none; }
.user-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--bd); margin-bottom: 6px; display: flex; flex-direction: column; }
.user-head small { color: var(--mu); }
.user-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--tx2); font-weight: 500; font-size: .93rem; }
.user-panel a:hover { background: var(--ps); color: var(--p); text-decoration: none; }
.user-panel a.danger:hover { background: rgba(239, 68, 68, .1); color: #dc2626; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
	.nav-btn { display: inline-grid; }
	.nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; padding: 8px; background: var(--sf); border: 1px solid var(--bd); border-radius: 14px; box-shadow: var(--sh-lg); display: none; }
	.nav.is-open { display: flex; }
	.nav a { padding: .8em 1em; }
	.user-name { display: none; }
	.user-btn { padding: 3px; }
	.top-act .btn-sm span { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
	radial-gradient(700px 360px at 90% 0%, rgba(var(--a-rgb), .16), transparent 70%),
	radial-gradient(800px 400px at 0% 100%, rgba(var(--p-rgb), .14), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.035em; margin: .35em 0 .4em; }
.mark { position: relative; white-space: nowrap; background: linear-gradient(90deg, var(--p), var(--a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--tx2); max-width: 560px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 28px 0 18px; padding: 8px 8px 8px 16px; background: var(--sf); border: 1px solid var(--bd); border-radius: 16px; box-shadow: var(--sh); color: var(--mu); }
.hero-search:focus-within { border-color: var(--p); box-shadow: 0 0 0 4px rgba(var(--p-rgb), .15), var(--sh); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--tx); padding: 8px 0; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hero-art { position: relative; height: 400px; }
.blob { position: absolute; inset: 6% 4%; border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(135deg, var(--p), var(--a)); opacity: .92; animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; transform: rotate(6deg); } }
.hero-img { position: absolute; inset: 0; margin: auto; max-height: 100%; object-fit: contain; z-index: 1; }
.mock { position: absolute; z-index: 1; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%) rotate(-4deg); background: var(--sf); border-radius: 18px; padding: 14px; box-shadow: var(--sh-lg); }
.mock-cover { display: grid; place-items: center; height: 120px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #7c3aed, #0b6bcb); margin-bottom: 14px; }
.mock-line { height: 10px; border-radius: 6px; background: var(--bd); margin: 8px 0; }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; margin: 0; }
.mock-bar { height: 8px; border-radius: 6px; background: var(--bd); margin: 16px 0 12px; overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--a)); }
.mock-foot { display: flex; align-items: center; gap: 10px; }
.mock-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ps); }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--sf); color: var(--p); border-radius: 14px; box-shadow: var(--sh-lg); animation: flt 6s ease-in-out infinite; }
.float strong { display: block; color: var(--tx); font-size: .92rem; line-height: 1.2; }
.float small { color: var(--mu); font-size: .78rem; }
.f1 { left: -2%; top: 16%; } .f2 { right: 0; bottom: 12%; animation-delay: -3s; }
@keyframes flt { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 36px 0 48px; } }

/* Statistik */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -28px; position: relative; z-index: 2; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r); box-shadow: var(--sh); }
.stat strong { display: block; font-size: 1.55rem; line-height: 1.1; color: var(--tx); }
.stat span:not(.stat-ic) { font-size: .86rem; color: var(--mu); }
.stat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; }
.s1 { background: rgba(245, 158, 11, .14); color: #d97706; } .s2 { background: var(--ps); color: var(--p); }
.s3 { background: rgba(124, 58, 237, .12); color: #7c3aed; } .s4 { background: rgba(var(--a-rgb), .14); color: #059669; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
@media (max-width: 420px) { .stats { gap: 10px; } .stat { padding: 14px; gap: 10px; } .stat-ic { width: 40px; height: 40px; } .stat strong { font-size: 1.3rem; } }

/* Katalog */
.catalog { padding-top: 64px; padding-bottom: 64px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: .2em 0 .25em; }
.sec-head p { margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }
.search { display: flex; align-items: center; gap: 8px; flex: 0 1 340px; padding: 0 14px; background: var(--sf); border: 1px solid var(--bd2); border-radius: 12px; color: var(--mu); }
.search:focus-within { border-color: var(--p); box-shadow: 0 0 0 3px rgba(var(--p-rgb), .15); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 11px 0; color: var(--tx); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 5px; margin-bottom: 22px; background: var(--sf); border: 1px solid var(--bd); border-radius: 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: .55em 1em; border: 0; border-radius: 10px; background: transparent; color: var(--tx2); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.tab:hover { background: var(--ps); color: var(--p); }
.tab span { font-size: .72rem; padding: 0 .55em; border-radius: 999px; background: var(--sf2); color: var(--mu); line-height: 1.7; }
.tab.is-on { background: var(--p); color: #fff; }
.tab.is-on span { background: rgba(255, 255, 255, .22); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; transition: opacity .2s; }
.catalog.is-busy .grid { opacity: .45; }
.course { display: flex; flex-direction: column; background: var(--sf); border: 1px solid var(--bd); border-radius: var(--r); overflow: hidden; transition: transform .2s var(--ez), box-shadow .2s var(--ez), border-color .2s; }
.course:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(var(--p-rgb), .3); }
.course-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; aspect-ratio: 16 / 8.5; padding: 16px 18px; color: #fff; overflow: hidden;
	background: radial-gradient(circle at 85% 12%, hsla(var(--h), 90%, 78%, .55), transparent 45%), linear-gradient(135deg, hsl(var(--h), 70%, 46%), hsl(calc(var(--h) + 30), 65%, 30%)); }
.course-cover:hover { text-decoration: none; color: #fff; }
.course-cover::after { content: ""; position: absolute; right: -34px; bottom: -44px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid rgba(255, 255, 255, .12); }
.course-cover-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.course-cover-t { position: relative; z-index: 1; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-period { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: .72rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0f172a; }
.course-period.p-aktif::before, .chip.p-aktif::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #10b981; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(16, 185, 129, .25); }
.course-period.p-selesai { background: rgba(15, 23, 42, .55); color: #fff; }
.course-period.p-akan { background: #fef3c7; color: #92400e; }
.course-body { padding: 14px 18px 4px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: .2em .7em; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--ps); color: var(--p); }
.chip-soft { background: var(--sf2); color: var(--mu); border: 1px solid var(--bd); }
.course-title { font-size: 1.05rem; line-height: 1.35; margin: 0 0 6px; }
.course-title a { color: var(--tx); }
.course-title a:hover { color: var(--p); text-decoration: none; }
.course-prodi { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .84rem; color: var(--mu); }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; margin-top: 12px; border-top: 1px solid var(--bd); font-size: .82rem; color: var(--mu); }
.course-dosen { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--tx2); font-weight: 500; }
.course-dosen img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.course-dosen span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.course-date { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; color: var(--mu); text-align: center; }
.empty[hidden] { display: none; }
.more { text-align: center; margin-top: 28px; }
.more .btn { min-width: 220px; border-radius: 999px; }

/* Langkah + CTA */
.steps-sec { padding: 64px 0 72px; background: var(--sf); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.steps { list-style: none; margin: 8px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 24px; background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r); }
.steps h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--mu); font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--p), var(--a)); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 36px; border-radius: 22px; color: #fff; background: radial-gradient(600px 260px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--p), var(--p-d) 60%, #0f172a); }
.cta h3 { color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 620px; }

/* Detail kursus */
.c-hero { padding: 28px 0 36px; color: #fff; background: radial-gradient(800px 320px at 90% 0%, hsla(var(--h), 90%, 72%, .35), transparent 60%), linear-gradient(135deg, hsl(var(--h), 70%, 40%), hsl(calc(var(--h) + 30), 60%, 24%)); }
.c-hero h1 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); margin: .3em 0 .25em; max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; margin-bottom: 14px; }
.crumbs a, .crumbs span { color: rgba(255, 255, 255, .8); }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.chip-on { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.c-sub { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(255, 255, 255, .88); }
.c-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.c-layout.c-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
@media (max-width: 960px) { .c-layout { grid-template-columns: minmax(0, 1fr); } }
.c-content { padding: clamp(20px, 4vw, 40px); font-size: 1.04rem; color: var(--tx2); overflow-wrap: break-word; }
.c-content > :first-child { margin-top: 0; }
.c-content > :last-child { margin-bottom: 0; }
.c-content h2, .c-content h3, .c-content h4 { color: var(--tx); margin: 1.4em 0 .5em; }
.c-content img { border-radius: 12px; }
.c-content iframe, .c-content video, .c-content embed, .c-content object { display: block; width: 100%; max-width: 100%; border: 0; border-radius: 12px; margin: 1em 0; }
.c-content iframe[src*="youtube"], .c-content iframe[src*="youtu.be"], .c-content iframe[src*="vimeo"], .c-content iframe[src*="drive.google"], .c-content video { aspect-ratio: 16 / 9; height: auto; }
.c-content iframe[src*="docs.google"], .c-content iframe[src*=".pdf"] { min-height: 70vh; }
.c-content audio { width: 100%; margin: 1em 0; }
.c-content a { text-decoration: underline; text-decoration-color: rgba(var(--p-rgb), .35); text-underline-offset: 3px; }
.c-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.c-content th, .c-content td { padding: .6em .8em; border: 1px solid var(--bd); }
.c-content blockquote { margin: 1.2em 0; padding: .8em 1.2em; border-left: 4px solid var(--p); background: var(--ps); border-radius: 0 10px 10px 0; }
.c-content ul, .c-content ol { padding-left: 1.4em; }
.c-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }
@media (max-width: 960px) { .c-side { position: static; } }
.side-dosen { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 20px; }
.side-dosen img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ps); }
.side-dosen strong { display: block; font-size: 1.02rem; line-height: 1.3; margin-top: 2px; }
.side-dosen small { color: var(--mu); font-family: ui-monospace, Menlo, Consolas, monospace; }
.side-dosen .btn { grid-column: 1 / -1; }
.side-info { padding: 20px; }
.side-info h2 { font-size: 1rem; margin-bottom: 14px; }
.period { padding: 14px; margin-bottom: 14px; background: var(--sf2); border: 1px solid var(--bd); border-radius: 12px; }
.period-row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.period-row span { color: var(--mu); }
.bar { height: 8px; margin: 12px 0 6px; border-radius: 999px; background: var(--bd); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--p), var(--a)); }
dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .9rem; }
dt { color: var(--mu); }
dd { margin: 0; text-align: right; color: var(--tx); font-weight: 600; }
dd small { display: block; font-weight: 400; color: var(--mu); font-size: .8rem; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--sf2); border: 1px solid var(--bd); padding: .05em .4em; border-radius: 6px; }
.state { text-align: center; padding: clamp(32px, 6vw, 56px) 24px; }
.state h2 { font-size: 1.4rem; margin: 14px 0 8px; }
.state-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ps); color: var(--p); }
.state-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.pw { display: flex; gap: 10px; max-width: 420px; margin: 20px auto 0; }
.pw input { flex: 1; min-width: 0; padding: .7em 1em; font: inherit; color: var(--tx); background: var(--sf); border: 1px solid var(--bd2); border-radius: 12px; }
.pw input:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 3px rgba(var(--p-rgb), .15); }
@media (max-width: 480px) { .pw { flex-direction: column; } }

/* Footer */
.foot { background: #0f172a; color: #cbd5e1; padding-top: 40px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.foot-brand strong { color: #fff; font-size: 1.05rem; }
.foot-brand p { margin: 6px 0 0; max-width: 460px; color: #94a3b8; font-size: .92rem; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.foot-links a, .lang summary { color: #e2e8f0; font-size: .92rem; cursor: pointer; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] .gtranslate_wrapper { position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 160px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: var(--sh-lg); z-index: 10; }
.lang .gtranslate_wrapper a { color: #0f172a; }
.foot-copy { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #94a3b8; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--p); color: #fff; box-shadow: var(--sh-lg); cursor: pointer; }
.to-top[hidden] { display: none; }

@media (max-width: 480px) { .wrap { padding: 0 16px; } .top-in { min-height: 62px; gap: 8px; } .brand-logo { max-height: 36px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .c-side, .to-top { display: none !important; } body { background: #fff; } .c-hero { color: #000; background: none; } .c-hero h1 { color: #000; } .c-layout { display: block; } }

/* Tab prodi: dibungkus di layar lebar agar tidak terpotong; digulir di ponsel. */
.tabs { flex-wrap: wrap; overflow: visible; }
@media (max-width: 640px) {
	.tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

[hidden] { display: none !important; }
