/* Tema SUI-Exam: header coklat tua ke maroon dengan motif kawung dan garis ganda emas;
   sengaja beda dari arsir diagonal SUI-CMS. Dimuat setelah style.bundle.css. */
:root {
  --sui-brown: #3b1f14;
  --sui-maroon: #6b1d2a;
  --sui-gold: #c9a227;
  --sui-latar: #f5f3ef; /* latar abu hangat halaman peserta */
  --bs-header-bg-color: var(--sui-brown);
  --bs-header-navs-bg-color: #ffffff;
  /* Motif kawung (empat kelopak + titik pusat), petak 44px */
  --sui-kawung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='.22'%3E%3Cellipse cx='11' cy='11' rx='11' ry='6' transform='rotate(45 11 11)'/%3E%3Cellipse cx='33' cy='11' rx='11' ry='6' transform='rotate(-45 33 11)'/%3E%3Cellipse cx='11' cy='33' rx='11' ry='6' transform='rotate(-45 11 33)'/%3E%3Cellipse cx='33' cy='33' rx='11' ry='6' transform='rotate(45 33 33)'/%3E%3C/g%3E%3Cg fill='%23c9a227' fill-opacity='.24'%3E%3Ccircle cx='22' cy='22' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='44' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='44' r='1.6'/%3E%3Ccircle cx='44' cy='44' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  /* Latar pita header/footer (arah sama dengan lapisan tepi agar menyatu tanpa sambungan). */
  --sui-band: linear-gradient(90deg, var(--sui-brown) 0%, var(--sui-maroon) 100%);
  /* Garis rambut emas 3px dari tepi -> garis ganda bersama border 3px. */
  --sui-rule-bottom: linear-gradient(0deg, transparent 0 3px, rgba(201, 162, 39, 0.75) 3px 4px, transparent 4px);
  --sui-rule-top: linear-gradient(180deg, transparent 0 3px, rgba(201, 162, 39, 0.75) 3px 4px, transparent 4px);
}

.header .header-top {
  background-color: var(--sui-brown);
  background-image: var(--sui-kawung), var(--sui-band);
  background-size: 44px 44px, auto;
  background-position: center, 0 0;
  background-repeat: repeat, no-repeat;
  border-bottom: 3px solid var(--sui-gold);
}

/* Menu: hover/aktif bernuansa maroon dengan garis emas */
.header-navs .menu .menu-link:hover,
.header-navs .menu .menu-item.here > .menu-link,
.header-navs .menu .menu-item.show > .menu-link {
  color: var(--sui-maroon);
  background-color: rgba(107, 29, 42, 0.08);
}
.header-navs .menu .menu-item.here > .menu-link .menu-title {
  box-shadow: 0 2px 0 var(--sui-gold);
}

/* Landing */
.landing-dark-bg {
  background-color: var(--sui-brown);
  background-image: var(--sui-kawung), linear-gradient(135deg, var(--sui-brown) 0%, var(--sui-maroon) 100%);
  background-size: 44px 44px, auto;
}
.landing-dark-color { color: var(--sui-brown); }
.landing-header .nav-link { color: rgba(255, 255, 255, 0.75); }
.landing-header .nav-link:hover { color: var(--sui-gold); }
.sui-gold-text {
  background: linear-gradient(to right, #f0d675 0%, var(--sui-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-sui-gold { background: var(--sui-gold); border-color: var(--sui-gold); color: #2b1208; font-weight: 600; }
.btn-sui-gold:hover { background: #e0b92f; border-color: #e0b92f; color: #2b1208; }
.sui-step-badge { background: var(--sui-maroon); color: #fff; }

/* Aksesibilitas: fokus keyboard terlihat, hormati reduced-motion */
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus-visible {
  outline: 3px solid var(--sui-gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Landing: seksi tambahan */
html { scroll-behavior: smooth; }
.sui-stat { color: var(--sui-maroon); }
.sui-trust-card { border: 1px solid rgba(201, 162, 39, 0.4); border-radius: 0.475rem; background: rgba(0, 0, 0, 0.15); }
.sui-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.sui-faq summary::-webkit-details-marker { display: none; }
.sui-faq summary::after { content: "+"; color: var(--sui-maroon); font-size: 1.5rem; line-height: 1; }
.sui-faq[open] summary::after { content: "\2212"; }
.sui-footer { border-top: 3px solid var(--sui-gold); }
.sui-footer-link { color: #fff; text-decoration: none; display: inline-block; padding: 4px 0; }
.sui-footer-link:hover { color: var(--sui-gold); text-decoration: underline; }
.sui-footer-bottom { border-top: 1px solid rgba(201, 162, 39, 0.35); }

/* Mobile */
.sui-btn-hero { width: 100%; max-width: 300px; }
@media (min-width: 576px) { .sui-btn-hero { width: auto; max-width: none; } }

.sui-burger { width: 44px; height: 44px; }
.sui-burger-icon, .sui-burger-icon::before, .sui-burger-icon::after {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; content: ""; position: relative;
}
.sui-burger-icon::before { position: absolute; top: -6px; }
.sui-burger-icon::after { position: absolute; top: 6px; }
.sui-burger-icon[data-open="true"] { background: transparent; }
.sui-burger-icon[data-open="true"]::before { top: 0; transform: rotate(45deg); }
.sui-burger-icon[data-open="true"]::after { top: 0; transform: rotate(-45deg); }
.sui-mobile-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  background: var(--sui-brown); border-top: 1px solid rgba(201, 162, 39, 0.5);
  border-bottom: 3px solid var(--sui-gold); padding: 0.5rem 1rem 1rem;
  display: flex; flex-direction: column; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.sui-mobile-panel a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem;
  min-height: 48px; display: flex; align-items: center; padding: 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sui-mobile-panel a:last-child { border-bottom: 0; }
.sui-mobile-panel a:hover { color: var(--sui-gold); }

/* clip (bukan hidden): cegah geser samping tanpa membuat flex item body menyusut */
.sui-landing { overflow-x: clip; flex-shrink: 0; }

/* Hero: lengkung bawah dari bentuk elemen, menyatu dengan gradasi */
.sui-hero { border-radius: 0 0 50% 50% / 0 0 32px 32px; }
@media (min-width: 992px) { .sui-hero { border-radius: 0 0 50% 50% / 0 0 64px 64px; } }
.sui-stats-gap { margin-bottom: 4rem; }
@media (min-width: 992px) { .sui-stats-gap { margin-bottom: 6.5rem; } }


/* Warna primary Metronic -> maroon (tombol, tautan, status aktif) */
:root, [data-bs-theme="light"] {
  --bs-primary: #6b1d2a;
  --bs-primary-active: #551722;
  --bs-primary-light: #f8eef0;
  --bs-primary-inverse: #ffffff;
  --bs-primary-rgb: 107, 29, 42;
  --bs-primary-text: #6b1d2a;
  --bs-primary-bg-subtle: #f3e1e4;
  --bs-primary-border-subtle: #d9aeb5;
  --bs-link-color: #6b1d2a;
  --bs-link-color-rgb: 107, 29, 42;
  --bs-link-hover-color: #551722;
}

/* Alur seleksi: daftar bernomor ala editorial */
.sui-flow { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sui-gold); }
.sui-flow li {
  display: grid; grid-template-columns: 3.75rem 1fr; column-gap: 1rem; row-gap: .35rem;
  padding: 1.5rem 0; border-bottom: 1px solid #e4e6ef; align-items: baseline;
}
.sui-flow-no { grid-row: span 2; font-size: 2.5rem; font-weight: 300; line-height: 1; color: var(--sui-maroon); font-variant-numeric: tabular-nums; }
.sui-flow li p { grid-column: 2; }
@media (min-width: 992px) {
  .sui-flow li { grid-template-columns: 5rem 18rem 1fr; column-gap: 1.5rem; padding: 1.75rem 0; }
  .sui-flow-no { grid-row: auto; font-size: 3rem; }
  .sui-flow li p { grid-column: auto; }
  .sui-sticky-lg { position: sticky; top: 2rem; }
}
.sui-flow-stats { border-top: 1px solid #e4e6ef; padding-top: 1.5rem; }


/* Login: panel mesh gradient maroon-emas */
.sui-auth-mesh {
  background-color: #2c120d;
  background-image:
    var(--sui-kawung),
    radial-gradient(60% 50% at 12% 8%, rgba(201, 162, 39, 0.55) 0%, transparent 60%),
    radial-gradient(55% 55% at 92% 28%, rgba(168, 38, 62, 0.85) 0%, transparent 62%),
    radial-gradient(70% 60% at 30% 95%, rgba(107, 29, 42, 0.95) 0%, transparent 65%),
    radial-gradient(45% 40% at 85% 92%, rgba(201, 162, 39, 0.35) 0%, transparent 60%);
  background-size: 44px 44px, auto, auto, auto, auto;
}

/* Dashboard */
.sui-progress { background-color: var(--sui-maroon); }
.sui-bar-ok { background-color: #2f7d4f; }
.sui-bar-warn { background-color: var(--sui-gold); }
.sui-bar-no { background-color: #a82638; }

/* Garis waktu kegiatan (kalender periode) */
.sui-gantt { min-width: 560px; }
.sui-gantt-row { display: grid; grid-template-columns: 10rem repeat(12, 1fr); align-items: center; min-height: 44px; border-bottom: 1px dashed #e4e6ef; row-gap: 0; }
.sui-gantt-head { min-height: 32px; }
.sui-gantt-bar { height: 14px; border-radius: 7px; background: var(--sui-maroon); }
.sui-gantt-row:nth-child(odd) .sui-gantt-bar { background: linear-gradient(90deg, var(--sui-maroon), #8a2a3a); }

/* Kontrol formulir aktif -> maroon (Metronic menulis biru langsung di beberapa aturan) */
.form-check-input:checked,
.form-check.form-check-solid .form-check-input:checked,
.form-check.form-check-custom .form-check-input:checked {
  background-color: var(--sui-maroon) !important;
  border-color: var(--sui-maroon) !important;
}
.form-control:focus, .form-select:focus, .form-control.form-control-solid:focus, .form-select.form-select-solid:focus {
  border-color: var(--sui-maroon) !important;
}

/* Header satu baris + megamenu */
.sui-header {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--sui-brown);
  background-image: var(--sui-kawung), var(--sui-band);
  background-size: 44px 44px, auto;
  background-position: center, 0 0;
  background-repeat: repeat, no-repeat;
  border-bottom: 3px solid var(--sui-gold);
}
.sui-header-bar { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.sui-header-brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.sui-header-brand img { height: 48px; width: 48px; }
.sui-header-brand strong, .sui-user strong { display: block; font-size: 1rem; line-height: 1.1; color: #fff; }
.sui-header-brand small, .sui-user small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .78); }
.sui-nav { align-items: stretch; gap: .25rem; margin-left: 1rem; align-self: stretch; }
.sui-nav-btn {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  padding: 0 1rem; background: none; border: 0; color: rgba(255, 255, 255, .92);
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.sui-nav-btn:hover, .sui-nav-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
/* Penanda menu aktif di atas garis ganda emas (pada bottom: -3px garis ini tertutup border emas header dan tidak terlihat). */
.sui-nav-btn[data-active="true"]::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 9px; height: 3px; background: var(--sui-gold);
}
.sui-nav-btn svg { transition: transform .15s; }
.sui-nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sui-header-tools { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.sui-search {
  display: flex; align-items: center; gap: .5rem; width: 260px; padding: 0 .75rem; height: 42px;
  border-radius: .6rem; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
}
.sui-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: .9rem; }
.sui-search input::placeholder { color: rgba(255, 255, 255, .8); }
.sui-search:focus-within { border-color: var(--sui-gold); }
.sui-search kbd { background: rgba(255, 255, 255, .18); color: #fff; border-radius: .3rem; font-size: .7rem; padding: .1rem .35rem; }
.sui-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: .6rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); color: #fff; cursor: pointer;
}
.sui-icon-btn:hover { background: rgba(255, 255, 255, .24); }
.sui-user { display: flex; align-items: center; gap: .6rem; padding: .25rem .6rem .25rem .25rem; border-radius: .6rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; }
.sui-user img { width: 34px; height: 34px; border-radius: .45rem; object-fit: cover; }
/* Megamenu: kartu di bawah tombol yang dibuka (garis emas header menjadi tepi atasnya), sudut bawah membulat, ornamen kawung samar di sudut kanan bawah; judul kolom bergaris tipis tanpa ikon. */
.sui-mega { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }
.sui-mega-card {
  position: relative; overflow: hidden; pointer-events: auto; background: #fff; border: 1px solid #e4e6ef; border-top: 0;
  border-radius: 0 0 1rem 1rem; box-shadow: 0 20px 40px rgba(44, 18, 13, .24); padding: 1.5rem 1.75rem 1.75rem;
}
.sui-mega-card::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 260px; height: 160px; pointer-events: none; background-image: var(--sui-kawung); background-size: 44px 44px; opacity: .9;
  -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000); mask-image: linear-gradient(135deg, transparent 35%, #000);
}
.sui-mega-grid { position: relative; z-index: 1; display: grid; gap: 0; }
.sui-mega-col { padding: 0 1.5rem; border-left: 1px solid #ecdfe1; }
.sui-mega-col:first-child { border-left: 0; padding-left: 0; }
.sui-mega-heading { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sui-maroon); margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 1px solid #ecdfe1; }
.sui-mega-link { display: block; padding: .7rem .9rem; margin: 0 -.9rem .2rem; border-radius: .6rem; text-decoration: none; }
.sui-mega-link strong { display: block; color: #181c32; font-size: .98rem; }
.sui-mega-link span { display: block; color: #5e6278; font-size: .82rem; line-height: 1.4; margin-top: .15rem; }
.sui-mega-link:hover { background: #f8eef0; }
.sui-mega-link:hover strong, .sui-mega-link[aria-current="page"] strong { color: var(--sui-maroon); }
/* Halaman yang sedang dibuka: latar maroon tipis dan judul maroon, tanpa ikon atau titik tambahan. */
.sui-mega-link[aria-current="page"] { background: #f8eef0; }
.sui-m-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--sui-brown); border-bottom: 3px solid var(--sui-gold); padding: .5rem 1rem 1rem; max-height: calc(100vh - 80px); overflow: auto; }
.sui-m-item { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 .5rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; text-align: left; }
.sui-m-sub { padding: .25rem 0 .5rem 1rem; }
.sui-m-sub a { display: flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .9); text-decoration: none; }
.sui-m-sub a:hover { color: var(--sui-gold); }

/* Footer aplikasi */
.sui-app-footer {
  background-color: var(--sui-brown);
  background-image: var(--sui-kawung), var(--sui-band);
  background-size: 44px 44px, auto;
  background-position: center, 0 0;
  background-repeat: repeat, no-repeat;
  border-top: 3px solid var(--sui-gold);
  position: relative;
}

/* Tepi pita: motif kawung memudar sebelum garis ganda emas (border 3px + garis rambut 1px berjarak 3px), sehingga
   kelopak tidak terpotong atau menabrak garis. Lapisan ini latar pita yang sama, dibuat buram ke arah tepi lewat mask. */
.sui-header::after, .header .header-top::after, .sui-app-footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; pointer-events: none; z-index: -1; /* di atas latar, di bawah isi */
  background-repeat: no-repeat;
}
.sui-header::after, .header .header-top::after {
  bottom: 0;
  background-image: var(--sui-rule-bottom), var(--sui-band); background-size: 100% 4px, auto; background-position: bottom, 0 0;
  -webkit-mask-image: linear-gradient(to top, #000 9px, transparent 22px); mask-image: linear-gradient(to top, #000 9px, transparent 22px);
}
.sui-app-footer::before {
  top: 0;
  background-image: var(--sui-rule-top), var(--sui-band); background-size: 100% 4px, auto; background-position: top, 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 9px, transparent 22px); mask-image: linear-gradient(to bottom, #000 9px, transparent 22px);
}
.sui-header, .header .header-top, .sui-app-footer { isolation: isolate; }
.header .header-top { position: relative; }

/* Menu pengguna */
.sui-user-wrap { position: relative; }
.sui-user-chevron { color: rgba(255, 255, 255, .85); }
.sui-user[aria-expanded="true"] { background: rgba(255, 255, 255, .24); }
.sui-user[aria-expanded="true"] .sui-user-chevron svg { transform: rotate(180deg); }
.sui-user-panel {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 120; width: min(280px, calc(100vw - 24px));
  background: #fff; border-radius: .75rem; overflow: hidden; box-shadow: 0 18px 40px rgba(44, 18, 13, .28);
  border-bottom: 3px solid var(--sui-gold);
}
.sui-user-card { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.1rem 1rem; background: #f8eef0; }
.sui-user-card img { width: 48px; height: 48px; border-radius: .6rem; object-fit: cover; }
.sui-user-card strong { display: block; color: #181c32; font-size: 1rem; line-height: 1.2; }
.sui-user-card small { display: block; color: #5e6278; font-size: .8rem; line-height: 1.35; }
.sui-user-item {
  display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: 0 1.1rem;
  color: var(--sui-maroon); font-weight: 600; text-decoration: none;
}
.sui-user-item:hover { background: #f8eef0; color: #551722; }
/* varian tombol (Keluar memanggil API logout, bukan tautan) */
button.sui-user-item { width: 100%; background: none; border: 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }

/* Font: Inter dari berkas lokal (variabel --font-inter diatur di layout.tsx), cadangan font sistem. */
html, body, button, input, select, textarea { font-family: var(--font-inter), Inter, Helvetica, Arial, sans-serif; }

/* ===== Hero sinematik: foto gedung sebagai latar penuh =====
   Desktop: foto bleed ke tepi kanan dan atas, larut ke maroon di sisi teks (mask), jadi tidak ada kotak
   dan teks tidak pernah berada di atas detail foto. Mobile: banner foto yang memudar ke maroon di bawahnya. */
.sui-hero-v2 { position: relative; overflow: hidden; } /* foto ikut terpotong lengkung bawah hero */
.sui-hero-header { z-index: 3; }

.sui-hero-bg {
  position: relative; z-index: 0; margin: -34px 0 0; height: 304px; /* naik ke bawah header: tepi atas larut, tanpa garis potong */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 58%, transparent 100%);
  animation: sui-fade 1.1s ease-out both;
}
.sui-hero-bg img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%;
  filter: saturate(.85) contrast(1.06) brightness(.88); /* redam putih terang, kesan sinematik */
}
.sui-hero-bg::after { /* tinta maroon + gelap di tepi atas (header) dan bawah */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(40, 16, 12, .55) 0%, rgba(40, 16, 12, 0) 30%),
    linear-gradient(0deg, rgba(107, 29, 42, .3) 0%, rgba(107, 29, 42, 0) 50%);
}

.sui-hero-content { position: relative; z-index: 2; }
.sui-hero-copy { padding: 1.75rem 0 4.5rem; text-align: center; }
.sui-hero-title {
  color: #fff; font-weight: 700; margin: 0 0 1.25rem; letter-spacing: -.015em; line-height: 1.12;
  font-size: clamp(22px, 6.2vw, 44px);
  text-shadow: 0 2px 28px rgba(20, 8, 5, .45);
}
.sui-hero-title .sui-gold-text { margin-top: .15em; }
.sui-hero-lead { color: rgba(255, 255, 255, .92); font-size: 1.08rem; line-height: 1.7; max-width: 32rem; margin: 0 auto 2.25rem; }
.sui-hero-actions { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
@media (min-width: 576px) { .sui-hero-actions { flex-direction: row; justify-content: center; } }

@media (min-width: 992px) {
  .sui-hero-bg {
    position: absolute; top: 0; right: 0; bottom: 0; height: auto; width: 54%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .4) 24%, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .4) 24%, #000 60%);
  }
  .sui-hero-bg img { object-position: 55% 4%; }
  .sui-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(40, 16, 12, .6) 0%, rgba(40, 16, 12, 0) 24%),
      linear-gradient(0deg, rgba(40, 16, 12, .75) 0%, rgba(40, 16, 12, 0) 38%),
      linear-gradient(270deg, rgba(40, 16, 12, .42) 0%, rgba(40, 16, 12, 0) 38%),
      linear-gradient(90deg, rgba(107, 29, 42, .28) 0%, rgba(107, 29, 42, 0) 60%);
  }
  .sui-hero-content { display: flex; align-items: center; min-height: 560px; }
  .sui-hero-copy { max-width: 640px; padding: 2.5rem 0 6.5rem; text-align: left; }
  .sui-hero-title { font-size: clamp(34px, 2.8vw, 46px); }
  .sui-hero-lead { margin-left: 0; margin-right: 0; font-size: 1.18rem; }
  .sui-hero-actions { justify-content: flex-start; }
}

/* Masuk halus (dimatikan otomatis oleh aturan prefers-reduced-motion di atas) */
@keyframes sui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sui-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sui-hero-copy > * { animation: sui-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.sui-hero-copy > :nth-child(2) { animation-delay: .09s; }
.sui-hero-copy > :nth-child(3) { animation-delay: .18s; }

/* Layar lebar (monitor besar, TV): header, isi, dan footer mengikuti lebar layar (jarak tepi tetap dari Metronic), bukan
   berhenti di 1320 px dengan ruang kosong di kiri-kanan. Di bawah 1400 px perilaku Metronic tidak berubah. */
@media (min-width: 1400px) {
  .container-xxl { max-width: none; }
}

/* Notifikasi berhasil (toastr Metronic, lib/notify.ts): di bawah header, tidak tembus pandang agar tidak menimpa menu pengguna. */
.toastr-top-right { top: 88px; right: 1.5rem; }
#toastr-container > div { opacity: 1; }
