:root {
  color-scheme: light dark;
  --green: #087b5a;
  --green-strong: #065f46;
  --green-soft: #e6f4f1;
  --mint: #059669;
  --blue: #2563eb;
  --ink: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --canvas: #faf8ff;
  --surface-low: #f2f3ff;
  --surface-container: #eaedff;
  --danger: #ff5f57;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --shadow-window: 0 20px 25px -5px rgba(15, 23, 42, .10), 0 8px 10px -6px rgba(15, 23, 42, .04);
  --shadow-control: 0 4px 12px -2px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .04);
  --radius-window: 24px;
  --radius-card: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 40px;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: inherit;
}
button, input, select, textarea { font: inherit; }
button, a { color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 14px;
  transform: translateY(-150%);
  border-radius: 12px;
  background: #fff;
  color: var(--green-strong);
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow-control);
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.ambient { display: none; }

/* macOS-style application toolbar */
.topbar {
  position: sticky;
  z-index: 30;
  top: 12px;
  height: 64px;
  margin-top: 12px;
  padding: 0 14px 0 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.topbar::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 20px 0 #febc2e, 40px 0 #28c840;
}
.brand { min-width: 0; display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand-text strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { display: block; margin-top: 2px; color: var(--subtle); font-size: 12px; }
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1f5f9;
}
.desktop-nav a, .desktop-nav button {
  min-height: 36px;
  padding: 7px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #42514d;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.desktop-nav a:hover, .desktop-nav button:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.mobile-cta-label { display: none; }
.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--ink); }
.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: block; }
.policy-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.button {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.985); }
.button-primary { color: #fff; background: var(--green); box-shadow: none; }
.button-primary:hover { background: var(--green-strong); }
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.button-secondary:hover { border-color: var(--line-strong); background: #f8fafc; box-shadow: none; }
.glass-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

/* First viewport */
.hero {
  min-height: 480px;
  margin-top: 22px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-window);
}
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 14px 0 18px; font-size: clamp(42px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 span { display: block; color: var(--green); }
.hero-copy > p { max-width: 590px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.hero-stats { width: fit-content; margin-top: 32px; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.hero-stats div { min-width: 116px; padding: 12px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { font-size: 20px; font-weight: 720; letter-spacing: -.03em; }
.hero-stats span { margin-top: 2px; color: var(--subtle); font-size: 12px; font-weight: 600; }
.hero-visual { position: relative; z-index: 2; }
.preview-window { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: #fff; box-shadow: var(--shadow-window); transform: none; }
.preview-titlebar { height: 44px; padding: 0 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.preview-titlebar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.preview-titlebar > span:nth-child(2) { background: #febc2e; }
.preview-titlebar > span:nth-child(3) { background: #28c840; }
.preview-titlebar small { margin-left: auto; margin-right: auto; color: var(--subtle); font-size: 12px; font-weight: 600; }
.preview-body { min-height: 320px; display: grid; grid-template-columns: 70px 1fr; }
.preview-sidebar { padding: 22px 15px; display: flex; flex-direction: column; gap: 13px; border-right: 1px solid var(--line); background: #f1f5f9; }
.preview-sidebar i { width: 38px; height: 30px; border-radius: 9px; background: rgba(72, 94, 88, .09); }
.preview-sidebar i.active { background: rgba(8, 123, 90, .15); box-shadow: inset 3px 0 var(--green); }
.preview-content { padding: 42px 34px 32px; }
.preview-kicker { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.preview-content > strong { max-width: 300px; margin-top: 10px; display: block; font-size: 25px; line-height: 1.08; letter-spacing: -.035em; }
.preview-content > p { margin: 9px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.preview-progress { height: 7px; margin-bottom: 25px; overflow: hidden; border-radius: 999px; background: #e7ecea; }
.preview-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--green); }
.preview-row { min-height: 44px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #334155; font-size: 14px; }
.preview-row b { color: #a0aaa7; font-size: 20px; font-weight: 400; }

/* Grouped status surface */
.admission-status { padding: 54px 0 6px; scroll-margin-top: 96px; }
.section-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 7px 0 0; font-size: 28px; font-weight: 650; letter-spacing: -.025em; }
.section-heading p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: right; }
.status-summary { padding: 18px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-radius: var(--radius-card); }
.status-summary-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff3d6; font-size: 0; }
.status-summary-icon::before { content: ""; width: 16px; height: 16px; border: 2px solid #b57500; border-radius: 50%; box-shadow: 6px 0 0 -4px #b57500; }
.status-summary strong { display: block; font-size: 15px; font-weight: 650; }
.status-summary p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.status-card { min-width: 0; padding: 17px; border: 0; border-right: 1px solid var(--line); background: transparent; }
.status-card:last-child { border-right: 0; }
.status-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.status-card h3 { margin: 2px 0; font-size: 15px; line-height: 1.3; }
.status-card-head span { padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.status-card p { min-height: 86px; margin: 14px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.status-card a { min-height: 44px; display: inline-flex; align-items: center; color: var(--green); font-size: 13px; font-weight: 650; text-decoration: none; }
.status-card a:hover { text-decoration: underline; }
.status-card.is-pending { background: var(--warning-soft); }
.status-card.is-pending .status-card-head span { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.status-disclaimer { margin: 12px 3px 0; color: var(--subtle); font-size: 13px; line-height: 1.55; }

/* Restrained launchpad */
.menu-section { padding: 54px 0 14px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.menu-card { position: relative; min-height: 104px; padding: 18px 44px 18px 78px; display: flex; flex-direction: column; justify-content: center; border: 0; border-radius: 0; background: #fff; box-shadow: none; text-align: left; cursor: pointer; transition: background .16s ease; }
.menu-card:hover { transform: none; background: #f8fafc; box-shadow: none; }
.menu-card:active { transform: scale(.99); }
.menu-card strong { font-size: 15px; font-weight: 650; }
.menu-card small { margin-top: 4px; color: var(--subtle); font-size: 13px; line-height: 1.4; }
.menu-card > i { position: absolute; right: 18px; color: #a5afac; font-size: 19px; font-style: normal; font-weight: 400; }
.menu-card.featured { background: #f0fdf4; }
.menu-card.dark { background: #fff; color: var(--ink); }
.menu-card.dark small { color: var(--subtle); }
.menu-icon { position: absolute; left: 18px; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 12px; color: var(--green); background: var(--green-soft); box-shadow: none; }
.menu-icon svg, .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.menu-icon svg circle[r="1"] { fill: currentColor; stroke: none; }
.menu-card:nth-child(2) .menu-icon { background: #eef2ff; color: #4f46e5; }
.menu-card:nth-child(3) .menu-icon { background: #ecfdf5; color: #059669; }
.menu-card:nth-child(4) .menu-icon { background: #fff7ed; color: #ea580c; }
.menu-card:nth-child(5) .menu-icon { background: #ecfdf5; color: #047857; }
.menu-card:nth-child(6) .menu-icon { background: #eff6ff; color: #2563eb; }
.menu-card:nth-child(7) .menu-icon { background: #faf5ff; color: #9333ea; }
.menu-card:nth-child(8) .menu-icon { background: #fff1f2; color: #e11d48; }
.menu-card:nth-child(9) .menu-icon { background: #f1f5f9; color: #475569; }

/* Focused application window */
.sheet-backdrop { position: fixed; z-index: 60; inset: 0; padding: 28px; display: grid; place-items: center; background: rgba(15, 23, 42, .40); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: min(1120px, 100%); max-height: min(880px, calc(100dvh - 56px)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #f8fafc; box-shadow: var(--shadow-window); animation: window-in .2s cubic-bezier(.2,.8,.2,1); }
@keyframes window-in { from { opacity: 0; transform: scale(.975) translateY(8px); } }
.sheet-handle { display: none; }
.sheet-header { min-height: 72px; padding: 11px 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.sheet-header > div { flex: 1; }
.sheet-header h2 { margin: 3px 0 0; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.close-sheet { order: -1; width: 14px; height: 14px; flex: 0 0 14px; overflow: hidden; padding: 0; border: 0; border-radius: 50%; background: var(--danger); color: transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(120, 30, 25, .16); }
.close-sheet:hover { color: rgba(85, 18, 14, .78); font-size: 11px; line-height: 14px; }
.sheet-content { max-height: calc(min(880px, 100dvh - 56px) - 72px); overflow: auto; padding: 24px 26px 32px; overscroll-behavior: contain; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.info-card { min-width: 0; padding: 19px; border: 0; background: #fff; }
.info-card .big-icon { display: none; }
.info-card h3 { margin: 0 0 7px; font-size: 16px; font-weight: 650; }
.info-card p, .info-card li { color: var(--muted); font-size: 14px; line-height: 1.55; }
.info-card ul { margin: 8px 0 0; padding-left: 18px; }
.info-card .button { margin-top: 10px; }
.notice, .notice-card { margin-bottom: 16px; padding: 14px 16px; border: 1px solid #a7f3d0; border-radius: 12px; background: #ecfdf5; color: #065f46; font-size: 14px; line-height: 1.55; }
.notice-card strong { display: block; margin-bottom: 4px; color: var(--green-strong); font-size: 14px; }
.notice-card p { margin: 0; font-size: 13px; line-height: 1.55; }
.intro-panel { margin-bottom: 16px; padding: 22px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.intro-panel h3 { margin: 6px 0 8px; font-size: 24px; letter-spacing: -.025em; }
.intro-panel p { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.intro-icon { display: none; }
.sapa-login-panel { background: #eff6ff; }
.sapa-login-panel .button[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; counter-reset: step; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.step { min-width: 0; padding: 18px; counter-increment: step; background: #fff; }
.step::before { content: counter(step); width: 26px; height: 26px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 760; }
.step strong { display: block; font-size: 14px; }
.step p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail-actions { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Program finder */
.interest-finder { margin-bottom: 20px; padding: 20px; border: 1px solid #a7f3d0; border-radius: 16px; background: #f0fdf4; }
.interest-finder h3 { margin: 5px 0 14px; font-size: 20px; letter-spacing: -.025em; }
.interest-options { display: flex; flex-wrap: wrap; gap: 7px; }
.interest-option { min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: #334155; font-size: 14px; font-weight: 650; cursor: pointer; }
.interest-option span { font-size: 0; }
.interest-option span::before { content: ""; width: 8px; height: 8px; display: block; border-radius: 50%; background: #a8b3b0; }
.interest-option.active { border-color: var(--green); background: var(--green); color: #fff; box-shadow: none; }
.interest-option.active span::before { background: #fff; }
.interest-prompt { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.recommendation-head { margin: 17px 0 9px; display: flex; align-items: center; justify-content: space-between; }
.recommendation-head strong { font-size: 14px; }
.recommendation-head span { color: var(--subtle); font-size: 12px; }
.recommendation-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.recommendation-card { min-width: 0; padding: 11px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.recommendation-card > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--green-soft); font-size: 0; }
.recommendation-card > span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.recommendation-card strong { display: block; font-size: 13px; line-height: 1.35; }
.recommendation-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.recommendation-card i { color: #a5afac; font-size: 16px; font-style: normal; }
.catalog-divider { margin: 3px 0 15px; display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.catalog-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.prodi-toolbar { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.search-wrap { flex: 1; max-width: 390px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { min-height: 44px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; cursor: pointer; }
.filters { padding: 4px; border-radius: 10px; background: #f1f5f9; }
.filter.active { border-color: var(--green); background: var(--green); color: #fff; }
.search-box, .interest-form input, .interest-form select, .interest-form textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #fff; color: var(--ink); font-size: 15px; box-shadow: none; }
.search-box:focus, .interest-form input:focus, .interest-form select:focus, .interest-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.prodi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.prodi-card { min-width: 0; min-height: 224px; padding: 18px; display: flex; flex-direction: column; border: 0; border-radius: 0; background: #fff; text-align: left; cursor: pointer; transition: background .16s ease; }
.prodi-card:hover { transform: none; background: #f8fafc; box-shadow: none; }
.prodi-card-head { display: flex; align-items: start; justify-content: space-between; }
.prodi-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-soft); font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0; }
.prodi-icon::before { content: "U"; color: var(--green); font-size: 15px; font-weight: 760; }
.level { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 650; }
.prodi-card h3 { margin: 13px 0 5px; font-size: 16px; line-height: 1.3; }
.prodi-meta { color: var(--muted); font-size: 12px; font-weight: 600; }
.prodi-positioning { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.accreditation-badge { width: fit-content; margin-top: 11px; padding: 5px 8px; border: 1px solid #a7f3d0; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 12px; font-weight: 650; line-height: 1.35; }
.accreditation-badge.needs-review { background: #fff2d4; color: #80570c; }
.curriculum { margin-top: auto; padding-top: 12px; color: #47675e; font-size: 12px; font-weight: 600; }
.curriculum.off { color: var(--subtle); }
.empty { grid-column: 1 / -1; padding: 44px; color: var(--muted); text-align: center; }
.detail-hero { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.detail-hero .prodi-icon { width: 58px; height: 58px; border-radius: 16px; }
.detail-hero .prodi-icon::before { font-size: 19px; }
.detail-hero h3 { margin: 2px 0 6px; font-size: 26px; letter-spacing: -.025em; }
.detail-hero p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.tag-row { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 6px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-strong); font-size: 12px; font-weight: 650; }
.prodi-detail-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.prodi-detail-card { min-width: 0; padding: 16px; background: #fff; }
.detail-label { display: block; margin-bottom: 9px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prodi-detail-card strong { display: block; font-size: 14px; line-height: 1.45; }
.prodi-detail-card p, .prodi-detail-card li { color: var(--muted); font-size: 13px; line-height: 1.55; }
.prodi-detail-card ul { margin: 0; padding-left: 17px; }
.prodi-detail-card a { min-height: 44px; margin-top: 7px; display: inline-flex; align-items: center; color: var(--green); font-size: 13px; font-weight: 650; text-decoration: none; }
.registration-card, .accreditation-card.needs-review { background: #fffaf0; }
.accreditation-sk { overflow-wrap: anywhere; }
.accreditation-source { padding-top: 8px; border-top: 1px solid var(--line); }
.detail-note { margin-top: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #f1f5f9; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Forms */
.interest-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.interest-form label { display: flex; flex-direction: column; gap: 7px; }
.interest-form label > span { color: #334155; font-size: 13px; font-weight: 650; }
.interest-form textarea { min-height: 112px; resize: vertical; }
.interest-form .full { grid-column: 1 / -1; }
.interest-form [hidden] { display: none; }
.contact-routing-note { margin-top: 1px; padding: 10px 12px; display: block; border: 1px solid #a7f3d0; border-radius: 8px; background: #ecfdf5; color: #42645b; font-size: 13px; line-height: 1.5; }
.contact-routing-note strong { color: var(--green-strong); }
.consent-field { padding: 14px; flex-direction: row !important; align-items: flex-start !important; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.consent-field input { width: 19px !important; min-width: 19px; min-height: 19px; margin: 0; box-shadow: none; }
.consent-field span { font-weight: 540 !important; line-height: 1.48; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #f1f5f9; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-feedback { display: none; padding: 12px 14px; border-radius: 8px; font-size: 13px; font-weight: 650; }
.form-feedback.show { display: block; }
.form-feedback.success { background: #e5f7ee; color: var(--green-strong); }
.form-feedback.error { background: #fff0ed; color: #a83225; }
.interest-form-actions { display: grid; grid-template-columns: 1fr; }
.interest-form-actions .submit-button { width: 100%; min-height: 48px; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }

/* Guides and supporting information */
.camaba-journey { margin-bottom: 8px; padding: 13px 2px 19px; display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.camaba-journey span { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 650; white-space: nowrap; }
.camaba-journey i { color: var(--green); font-style: normal; }
.camaba-info { margin-bottom: 20px; }
.faq-list { margin: 12px 0 20px; display: grid; gap: 7px; }
.faq-list details { padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-list summary { position: relative; min-height: 52px; padding: 15px 30px 15px 0; list-style: none; font-size: 14px; font-weight: 650; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 10px; right: 0; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 17px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 15px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.camaba-disclaimer { margin-top: 18px; margin-bottom: 0; }
.source-note { margin-top: 18px; padding: 13px 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #f1f5f9; color: var(--muted); font-size: 13px; line-height: 1.5; }
.source-note strong { color: var(--ink); }
.source-note a { color: var(--green); font-weight: 680; }
.source-note span { margin-left: auto; }

/* Quiet institutional footer */
.site-footer { margin-top: 42px; padding: 24px 26px; display: grid; grid-template-columns: minmax(210px, .75fr) 1.25fr; align-items: start; gap: 18px 30px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 5px; }
.footer-brand strong { font-size: 15px; }
.footer-brand span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.55; }
.footer-contact strong { color: var(--ink); font-size: 14px; }
.footer-contact a { color: var(--green); font-weight: 680; }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.footer-links a { min-height: 44px; padding: 10px 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green-strong); font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-notice { grid-column: 1 / -1; margin: 0; }
.dock { display: none; }

/* Explicit dark appearance. Browser extensions are kept from recoloring the portal;
   the user controls the appearance from the header instead. */
html[data-theme="dark"] {
  color-scheme: dark;
  --green: #45d6a9;
  --green-strong: #6ee7c0;
  --green-soft: #10372f;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --line: #263449;
  --line-strong: #3b4b63;
  --surface: #111c2d;
  --surface-low: #0d1828;
  --surface-container: #172438;
  --canvas: #07111f;
  --warning-soft: #2b2414;
}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .dock,
html[data-theme="dark"] .sheet-header { background: rgba(11, 22, 37, .96); }
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .preview-window,
html[data-theme="dark"] .status-grid,
html[data-theme="dark"] .status-card,
html[data-theme="dark"] .menu-card,
html[data-theme="dark"] .menu-card.featured,
html[data-theme="dark"] .menu-card.dark,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .intro-panel,
html[data-theme="dark"] .step,
html[data-theme="dark"] .interest-option,
html[data-theme="dark"] .recommendation-card,
html[data-theme="dark"] .prodi-card,
html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .prodi-detail-card,
html[data-theme="dark"] .camaba-journey span,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .policy-card { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .desktop-nav,
html[data-theme="dark"] .hero-stats,
html[data-theme="dark"] .preview-titlebar,
html[data-theme="dark"] .preview-sidebar,
html[data-theme="dark"] .filters,
html[data-theme="dark"] .detail-note,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .source-note,
html[data-theme="dark"] .consent-field { background: var(--surface-low); }
html[data-theme="dark"] .sheet,
html[data-theme="dark"] .sheet-backdrop { background: var(--canvas); }
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .filter.active,
html[data-theme="dark"] .interest-option.active { background: #087b5a; color: #fff; }
html[data-theme="dark"] .menu-card:hover,
html[data-theme="dark"] .prodi-card:hover,
html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .desktop-nav button:hover { background: #19273a; }
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .interest-form input,
html[data-theme="dark"] .interest-form select,
html[data-theme="dark"] .interest-form textarea { background: #0b1625; color: var(--ink); }
html[data-theme="dark"] .status-card-head span,
html[data-theme="dark"] .level { background: #1b293c; color: #d8e0ec; }
html[data-theme="dark"] .notice,
html[data-theme="dark"] .notice-card,
html[data-theme="dark"] .contact-routing-note { border-color: #255f51; background: #0e2d27; color: #b9e9da; }
html[data-theme="dark"] .registration-card,
html[data-theme="dark"] .accreditation-card.needs-review { background: #2b2414; }
html[data-theme="dark"] .sapa-login-panel { background: #10243e; }
html[data-theme="dark"] .menu-card:nth-child(n) .menu-icon { border: 1px solid var(--line); background: #18263a; }
html[data-theme="dark"] .status-summary-icon { background: #312a14; }
html[data-theme="dark"] .preview-row,
html[data-theme="dark"] .interest-option,
html[data-theme="dark"] .interest-form label > span { color: var(--muted); }

/* Privacy page */
.policy-page { padding-bottom: 50px; }
.policy-card { max-width: 820px; margin-top: 24px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-window); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.policy-card h1 { margin: 12px 0; font-size: clamp(36px, 6vw, 55px); letter-spacing: -.05em; }
.policy-card h2 { margin: 28px 0 8px; font-size: 19px; }
.policy-card p { color: var(--muted); font-size: 15px; line-height: 1.72; }
.policy-card a { color: var(--green); font-weight: 680; }
.policy-lead { font-size: 17px !important; }
.policy-updated { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 380px; padding: 48px 44px; gap: 35px; }
  .status-grid { grid-template-columns: repeat(3, 1fr); }
  .status-card:nth-child(3) { border-right: 0; }
  .status-card:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .top-actions .button-secondary { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 520px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .prodi-grid, .prodi-detail-grid, .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --radius-window: 20px; --radius-card: 16px; }
  html, body { background: var(--canvas); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ambient { display: none; }
  .shell { width: min(100% - 32px, 1220px); }
  .topbar { top: 0; width: 100%; height: 62px; margin: 0; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: rgba(250, 248, 255, .96); }
  .topbar::before { display: none; }
  .brand-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
  .brand-text strong { font-size: 14px; }
  .brand-text span { display: none; }
  .top-actions { margin-left: auto; }
  .top-actions { gap: 6px; }
  .top-actions .button { min-height: 44px; padding: 8px 11px; font-size: 12px; }
  .theme-toggle { width: 44px; min-width: 44px; padding: 0; border-radius: 12px; }
  .theme-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .desktop-cta-label { display: none; }
  .mobile-cta-label { display: inline; }
  .hero { margin-top: 16px; padding: 20px; display: block; border: 0; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #087b5a, #065f46); box-shadow: 0 12px 26px rgba(6, 95, 70, .20); }
  .hero .eyebrow, .hero h1 span { color: #c9fbe9; }
  .hero h1 { margin: 8px 0 10px; font-size: 28px; line-height: 35px; letter-spacing: -.02em; }
  .hero-copy > p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 22px; }
  .hero-actions { margin-top: 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .hero-actions > :first-child { grid-column: 1 / -1; }
  .hero-actions .button { width: 100%; min-height: 44px; }
  .hero-actions .button-primary { background: #fff; color: #065f46; }
  .hero-actions .button-secondary { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.10); color: #fff; }
  .hero-stats { width: 100%; margin-top: 14px; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.10); box-shadow: none; }
  .hero-stats div { min-width: 0; flex: 1; padding: 10px 6px; text-align: center; }
  .hero-stats div { border-color: rgba(255,255,255,.18); }
  .hero-stats strong { color: #fff; font-size: 18px; }
  .hero-stats span { color: rgba(255,255,255,.72); font-size: 11px; }
  .hero-visual { display: none; }
  .admission-status, .menu-section { padding-top: 32px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 22px; line-height: 28px; letter-spacing: -.015em; }
  .section-heading p { display: none; }
  .status-summary { padding: 16px; grid-template-columns: auto 1fr; }
  .status-summary .button { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .status-grid { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: none; }
  .status-card { min-height: 0; padding: 16px; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0; background: #fff; }
  .status-card:last-child { border-bottom: 0 !important; }
  .status-card p { min-height: 0; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .menu-card, .menu-card.featured, .menu-card.dark { min-width: 0; min-height: 108px; padding: 12px 5px 10px; align-items: center; justify-content: flex-start; gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.04); text-align: center; }
  .menu-card:hover { transform: none; box-shadow: none; }
  .menu-card strong { font-size: 12px; line-height: 16px; }
  .menu-card small, .menu-card.dark small { display: none; }
  .menu-icon { position: static; width: 46px; height: 46px; flex: 0 0 46px; transform: none; border-radius: 14px; }
  .menu-card > i { display: none; }
  .dock { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; min-height: 62px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: space-around; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: rgba(255,255,255,.96); box-shadow: 0 -1px 2px rgba(15,23,42,.03); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
  .dock a, .dock button { width: 58px; min-height: 50px; padding: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 12px; background: transparent; color: #687470; text-decoration: none; cursor: pointer; }
  .dock svg { width: 21px; height: 21px; }
  .dock small { font-size: 11px; font-weight: 600; }
  .dock .active, .dock .dock-main { color: var(--green); background: var(--green-soft); box-shadow: none; transform: none; }
  .sheet-backdrop { padding: 0; display: block; background: #faf8ff; backdrop-filter: none; }
  .sheet { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; background: #faf8ff; box-shadow: none; animation: ios-in .22s ease-out; }
  @keyframes ios-in { from { transform: translateX(20px); opacity: .75; } }
  .sheet-header { position: sticky; z-index: 3; top: 0; min-height: 62px; padding: max(8px, env(safe-area-inset-top)) 15px 8px; justify-content: center; border-bottom: 1px solid var(--line); background: rgba(250,248,255,.96); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
  .sheet-header > div { text-align: center; }
  .sheet-header .eyebrow { display: none; }
  .sheet-header h2 { margin: 0; font-size: 17px; font-weight: 680; }
  .close-sheet { position: absolute; left: 10px; order: 0; width: auto; min-width: 44px; height: 44px; padding: 0 5px; overflow: visible; border-radius: 8px; background: transparent; color: transparent; box-shadow: none; }
  .close-sheet::after { content: "Tutup"; color: var(--green); font-size: 14px; font-weight: 650; }
  .close-sheet:hover { color: transparent; font-size: 0; }
  .sheet-content { height: calc(100dvh - 62px); max-height: none; padding: 18px 14px calc(32px + env(safe-area-inset-bottom)); }
  .intro-panel { padding: 18px; }
  .intro-panel h3 { font-size: 21px; }
  .info-grid, .steps, .prodi-detail-grid { grid-template-columns: 1fr; }
  .info-card, .step, .prodi-detail-card { padding: 16px; }
  .interest-finder { padding: 16px; }
  .interest-options { display: grid; grid-template-columns: 1fr 1fr; }
  .interest-option { justify-content: flex-start; }
  .recommendation-grid { display: flex; overflow-x: auto; padding-bottom: 5px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .recommendation-card { flex: 0 0 230px; scroll-snap-align: start; }
  .prodi-toolbar { align-items: stretch; flex-direction: column; }
  .search-wrap { max-width: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filter { flex: 0 0 auto; min-height: 40px; }
  .prodi-grid { grid-template-columns: 1fr; }
  .prodi-card { min-height: 190px; }
  .detail-hero { grid-template-columns: 1fr; padding: 18px; }
  .detail-hero .detail-actions { display: grid; }
  .detail-hero .detail-actions .button { width: 100%; min-height: 48px; }
  .interest-form { grid-template-columns: 1fr; }
  .interest-form .full { grid-column: auto; }
  .interest-form input, .interest-form select, .interest-form textarea, .search-box { min-height: 50px; border-radius: 12px; font-size: 16px; }
  .consent-field input { min-height: 20px; }
  .source-note { align-items: flex-start; flex-direction: column; }
  .source-note span { margin-left: 0; }
  .site-footer { margin-top: 28px; padding: 23px 2px; grid-template-columns: 1fr; }
  .footer-links, .footer-notice { grid-column: auto; }
  .footer-links a { width: 100%; justify-content: space-between; background: #fff; }
  .policy-card { margin-top: 12px; padding: 25px 20px; border-radius: 20px; }
  .policy-page .topbar > .button { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
