/* =========================================================
   SPINDI Portal Suite — professional institutional UI
   ========================================================= */
:root {
  --portal-accent: #0f766e;
  --portal-accent-soft: color-mix(in srgb, var(--portal-accent) 14%, #fff);
  --portal-accent-ink: color-mix(in srgb, var(--portal-accent) 72%, #041018);
  --portal-ink: #0c1524;
  --portal-muted: #5b6b7f;
  --portal-line: #dce4ee;
  --portal-bg: #e9eef5;
  --portal-surface: #ffffff;
  --portal-sidebar: #07111d;
  --portal-sidebar-2: #0f2238;
  --portal-radius: 1.1rem;
  --portal-shadow: 0 18px 40px rgba(8, 22, 40, .08);
  /* Inter: standar UI sistem informasi (admin panel, dashboard, SaaS) */
  --portal-font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --portal-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

@keyframes portalFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  /* transform:none di akhir — jangan sisakan transform (merusak position:fixed / modal Bootstrap) */
  to { opacity: 1; transform: none; }
}
@keyframes portalPulse {
  0%, 100% { opacity: .45; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.04); }
}
@keyframes portalShine {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.portal-reveal { animation: portalFadeUp .55s cubic-bezier(.22,1,.36,1) both; }
.portal-reveal.d1 { animation-delay: .08s; }
.portal-reveal.d2 { animation-delay: .16s; }
.portal-reveal.d3 { animation-delay: .24s; }

/* ---------- Panel shell ---------- */
.portal-body {
  font-family: var(--portal-font);
  background:
    radial-gradient(900px 420px at 100% -10%, color-mix(in srgb, var(--portal-accent) 18%, transparent), transparent 55%),
    linear-gradient(180deg, #f3f6fa 0%, var(--portal-bg) 40%, #e4ebf4 100%);
  color: var(--portal-ink);
  min-height: 100vh;
}
.portal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background:
    radial-gradient(500px 280px at 0% 0%, color-mix(in srgb, var(--portal-accent) 35%, transparent), transparent 60%),
    linear-gradient(180deg, var(--portal-sidebar), var(--portal-sidebar-2));
  color: #d7e2ef;
  padding: 1.35rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  overflow: auto;
}
.portal-brand {
  display: flex;
  gap: .85rem;
  align-items: center;
  padding: .45rem .45rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  color: inherit;
}
a.portal-brand:hover .portal-brand-school { color: #c7d5e4; }
.portal-brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--portal-accent), var(--portal-accent-ink));
  color: #fff; font-size: 1.05rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--portal-accent) 45%, transparent);
}
.portal-brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.portal-brand-app {
  margin: 0; font-family: var(--portal-display); font-weight: 700;
  font-size: .92rem; color: #fff; line-height: 1.25; letter-spacing: -.01em;
}
.portal-brand-school { margin: .2rem 0 0; font-size: .72rem; color: #8ea0b5; font-weight: 600; }
.portal-nav-label {
  margin: .35rem .55rem .2rem; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #6f849b;
}
.portal-nav { display: grid; gap: .3rem; flex: 1; }
.portal-nav-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .78rem .85rem; border-radius: .9rem;
  color: #b7c6d8; text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid transparent; transition: .2s ease;
}
.portal-nav-link i { width: 1.15rem; text-align: center; opacity: .9; }
.portal-nav-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.portal-nav-link.is-active {
  background: color-mix(in srgb, var(--portal-accent) 88%, #000);
  color: #fff;
  border-color: color-mix(in srgb, var(--portal-accent) 40%, transparent);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.portal-sidebar-foot {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem; display: grid; gap: .55rem;
}
.portal-user-chip {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .65rem; border-radius: .85rem; background: rgba(255,255,255,.05);
  text-decoration: none; color: inherit; transition: background .15s ease;
}
a.portal-user-chip:hover { background: rgba(255,255,255,.1); }
.portal-user-avatar {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-size: .8rem;
  background: var(--portal-accent); color: #fff; overflow: hidden; flex-shrink: 0;
}
.portal-user-avatar-img { padding: 0; background: #0f172a; }
.portal-user-avatar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portal-user { margin: 0; font-size: .82rem; color: #e8eef6; font-weight: 700; }
.portal-user small { display: block; color: #8ea0b5; font-weight: 600; font-size: .7rem; margin-top: .1rem; }
.portal-logout {
  border: 0; background: rgba(255,255,255,.08); color: #fff; border-radius: .8rem;
  padding: .62rem .8rem; font-weight: 700; cursor: pointer; text-align: left; width: 100%;
  transition: .2s ease;
}
.portal-logout:hover { background: rgba(255,255,255,.14); }
.portal-back { color: #8ea0b5; font-size: .8rem; text-decoration: none; font-weight: 600; }
.portal-back:hover { color: #fff; }

.portal-main { padding: 1.35rem 1.6rem 2.4rem; min-width: 0; }
.portal-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: end; margin-bottom: 1.15rem;
}
.portal-top h1 {
  margin: 0; font-family: var(--portal-display); font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700; letter-spacing: -.02em;
}
.portal-top-meta { color: var(--portal-muted); font-size: .88rem; font-weight: 600; }
.portal-top-meta strong { color: var(--portal-ink); }
.portal-content { display: grid; gap: 1rem; }

.portal-alert {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .9rem 1.05rem; border-radius: .95rem; font-weight: 600; font-size: .9rem;
  border: 1px solid transparent;
}
.portal-alert.ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.portal-alert.err { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.portal-alert.info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

.portal-card {
  background: var(--portal-surface);
  border: 1px solid rgba(220,228,238,.9);
  border-radius: calc(var(--portal-radius) + .1rem);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--portal-shadow);
}
.portal-card h2 {
  margin: 0 0 .85rem; font-family: var(--portal-display);
  font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
}
.portal-card-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  align-items: center; margin-bottom: .95rem;
}
.portal-card-head h2 { margin: 0; }
.portal-card-sub { margin: .2rem 0 0; color: var(--portal-muted); font-size: .88rem; }

.portal-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.portal-stat {
  position: relative; overflow: hidden;
  background: var(--portal-surface);
  border: 1px solid rgba(220,228,238,.95);
  border-radius: var(--portal-radius);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--portal-shadow);
}
.portal-stat::after {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 90px; height: 90px;
  border-radius: 50%; background: var(--portal-accent-soft); pointer-events: none;
}
.portal-stat-icon {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--portal-accent-soft); color: var(--portal-accent); margin-bottom: .65rem; font-size: .95rem;
}
.portal-stat b {
  display: block; font-family: var(--portal-display); font-size: 1.75rem;
  margin-top: .15rem; color: var(--portal-ink); letter-spacing: -.03em; line-height: 1.1;
}
.portal-stat span {
  font-size: .72rem; color: var(--portal-muted); font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
}

.portal-table-wrap { overflow: auto; border-radius: .85rem; border: 1px solid #edf2f7; }
.portal-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.portal-table th, .portal-table td {
  padding: .85rem .75rem; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top;
}
.portal-table th {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .07em;
  color: #6b7c90; background: #f8fafc; font-weight: 800;
}
.portal-table tr:last-child td { border-bottom: 0; }
.portal-table tr:hover td { background: #fbfdff; }
.portal-table strong { font-weight: 700; }
.portal-table small { color: var(--portal-muted); }

.portal-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800;
  background: #e8eef5; color: #334155; text-transform: capitalize;
}
.portal-badge.ok { background: #d1fae5; color: #047857; }
.portal-badge.warn { background: #fef3c7; color: #b45309; }
.portal-badge.err { background: #fee2e2; color: #b91c1c; }
.portal-badge.info { background: #dbeafe; color: #1d4ed8; }

.portal-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.portal-empty {
  text-align: center; padding: 2.2rem 1rem; color: var(--portal-muted);
}
.portal-empty i {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto .75rem;
  border-radius: 16px; background: var(--portal-accent-soft); color: var(--portal-accent); font-size: 1.2rem;
}
.portal-empty strong { display: block; color: var(--portal-ink); margin-bottom: .25rem; font-family: var(--portal-display); }

.label {
  display: block; font-size: .78rem; font-weight: 700; margin: 0 0 .35rem; color: #314155;
}
.input, select.input, textarea.input {
  width: 100%; border: 1px solid var(--portal-line); border-radius: .8rem;
  padding: .72rem .85rem; background: #fff; color: var(--portal-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, select.input:focus, textarea.input:focus {
  outline: none; border-color: color-mix(in srgb, var(--portal-accent) 55%, #94a3b8);
  box-shadow: 0 0 0 4px var(--portal-accent-soft);
}
.btn-primary, .portal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: .85rem; padding: .72rem 1.05rem; font-weight: 800; cursor: pointer;
  background: linear-gradient(145deg, var(--portal-accent), var(--portal-accent-ink));
  color: #fff; text-decoration: none; font-size: .9rem;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--portal-accent) 35%, transparent);
  transition: transform .15s ease, filter .15s ease;
}
.btn-primary:hover, .portal-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost, .portal-btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--portal-line); background: #fff; color: var(--portal-ink);
  border-radius: .85rem; padding: .68rem .95rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: .15s ease;
}
.btn-ghost:hover, .portal-btn-ghost:hover { border-color: #b8c6d8; background: #f8fafc; }
.portal-btn-danger { color: #b91c1c; border-color: #fecaca; }
.portal-btn-danger:hover { background: #fef2f2; }
.portal-form-grid {
  display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.portal-form-grid .full { grid-column: 1 / -1; }
.portal-note {
  margin: 0; padding: .85rem 1rem; border-radius: .85rem;
  background: #f8fafc; color: var(--portal-muted); font-size: .88rem; line-height: 1.5;
}
.portal-ticket {
  border: 1px dashed #cbd5e1; border-radius: 1rem; padding: 1rem 1.1rem; background: #fbfdff;
}
.portal-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.portal-timeline li {
  position: relative; padding-left: 1.35rem; color: var(--portal-muted); font-size: .9rem;
}
.portal-timeline li::before {
  content: ""; position: absolute; left: .2rem; top: .4rem; width: .55rem; height: .55rem;
  border-radius: 50%; background: var(--portal-accent);
}
.portal-stars { color: #d97706; letter-spacing: .08em; }
.portal-top-btn { position: relative; }

/* —— Penilaian emot (TU & BK) — kontras jelas di kartu putih —— */
.sat-rate { margin-top: .35rem; }
.sat-prompt {
  margin: 0 0 .4rem; font-size: 1.12rem; font-weight: 800;
  color: #0f172a; letter-spacing: -.01em;
}
.sat-hint {
  margin: 0 0 1.05rem; font-size: .9rem; color: #475569; line-height: 1.5;
}
.sat-hint strong { color: #047857; }
.sat-badge {
  display: inline-flex; align-items: center; margin-right: .4rem; vertical-align: middle;
  padding: .22rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  background: linear-gradient(135deg, #059669, #047857); color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, .28);
  animation: satPulse 2.2s ease-in-out infinite;
}
.sat-moods {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.15rem;
}
@media (max-width: 480px) {
  .sat-moods { grid-template-columns: 1fr; }
}
.sat-mood-btn {
  appearance: none; border: 2px solid #e2e8f0; background: #f8fafc;
  border-radius: 1.2rem; padding: 1.2rem 1rem; min-height: 10rem; cursor: pointer; text-align: center;
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s, box-shadow .25s, background .2s, color .2s;
  color: #0f172a; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.sat-mood-btn:hover {
  transform: translateY(-3px); border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.sat-mood-btn.is-selected.is-happy {
  border-color: #059669; background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  box-shadow: 0 14px 32px rgba(5, 150, 105, .22);
  color: #064e3b;
}
.sat-mood-btn.is-selected.is-sad {
  border-color: #e11d48; background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  box-shadow: 0 14px 32px rgba(225, 29, 72, .18);
  color: #881337;
}
.sat-face {
  position: relative; display: grid; place-items: center; margin: 0 auto .65rem;
  width: 4.4rem; height: 4.4rem; font-size: 2.65rem; line-height: 1;
  border-radius: 50%; background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.sat-face-glow {
  position: absolute; inset: -.2rem; border-radius: 50%; opacity: .45;
  background: radial-gradient(circle, rgba(255,255,255,.7), transparent 70%);
  animation: satGlow 2.4s ease-in-out infinite;
}
.sat-mood-btn.is-happy .sat-face { color: #059669; }
.sat-mood-btn.is-sad .sat-face { color: #e11d48; }
.sat-mood-btn.is-selected.is-happy .sat-face {
  color: #047857; background: #fff; box-shadow: 0 8px 20px rgba(5, 150, 105, .25);
}
.sat-mood-btn.is-selected.is-sad .sat-face {
  color: #be123c; background: #fff; box-shadow: 0 8px 20px rgba(225, 29, 72, .22);
}
.sat-mood-btn.is-selected .sat-face { animation: satBounce .55s cubic-bezier(.22,1,.36,1); }
.sat-mood-btn strong {
  display: block; font-size: 1.08rem; font-weight: 800; color: inherit; letter-spacing: -.01em;
}
.sat-mood-btn small {
  display: block; margin-top: .3rem; font-size: .8rem; font-weight: 650; line-height: 1.35;
  color: #64748b;
}
.sat-mood-btn.is-selected.is-happy small { color: #047857; }
.sat-mood-btn.is-selected.is-sad small { color: #9f1239; }
.sat-rate.is-happy-mode .sat-submit {
  background: linear-gradient(135deg, #059669, #047857) !important;
  border-color: #047857 !important; color: #fff !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, .3);
}
.sat-rate.is-sad-mode .sat-submit {
  background: linear-gradient(135deg, #e11d48, #be123c) !important;
  border-color: #be123c !important; color: #fff !important;
  box-shadow: 0 10px 24px rgba(225, 29, 72, .28);
}
.sat-stars-wrap {
  margin: 0 0 1.1rem; padding: 1rem 1rem .9rem;
  border-radius: 1rem; background: #fff1f2; border: 1.5px solid #fecdd3;
}
.sat-stars-label {
  margin: 0 0 .65rem; font-size: .95rem; font-weight: 800; color: #9f1239;
}
.sat-stars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem;
}
.sat-star-btn {
  appearance: none; cursor: pointer; text-align: center;
  border: 1.5px solid #fecdd3; background: #fff; border-radius: .85rem;
  padding: .65rem .35rem .55rem; color: #9f1239;
  transition: transform .15s ease, border-color .15s, background .15s, box-shadow .15s;
  touch-action: manipulation;
}
.sat-star-btn:hover { transform: translateY(-2px); border-color: #fb7185; }
.sat-star-btn.is-on {
  border-color: #e11d48; background: linear-gradient(180deg, #fff 0%, #ffe4e6 100%);
  box-shadow: 0 8px 18px rgba(225, 29, 72, .18);
}
.sat-star-num {
  display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; margin-bottom: .2rem;
}
.sat-star-icons {
  display: block; font-size: .72rem; letter-spacing: .02em; line-height: 1.2; color: #e11d48;
}
.sat-star-dim { color: #fecdd3; }
.sat-stars-hint {
  margin: .55rem 0 0; font-size: .78rem; color: #be123c; font-weight: 650; text-align: center;
}
@media (max-width: 420px) {
  .sat-stars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== E-Layanan kiosk / touch hub ===== */
.el-simple-hero { padding-bottom: 2rem !important; }
.el-simple-hero h1 { font-size: clamp(1.85rem, 5vw, 2.55rem) !important; margin-bottom: .4rem !important; }
.el-simple-hero .lead { max-width: 32rem; margin: 0 !important; font-size: 1.08rem !important; opacity: .92; }
.el-simple-meta {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .95rem;
}
.el-simple-meta span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 650;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); color: #e2e8f0;
}
.el-simple-section { margin-top: -1.75rem; }
.el-simple-section > .portal-section-inner { max-width: 980px; }
.el-hub.is-hidden { display: none; }
.el-simple-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}
.el-simple-menu .el-kiosk-tile {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .85rem !important;
  min-height: 11.5rem; padding: 1.35rem 1.1rem 1.25rem !important;
  border-radius: 1.45rem !important;
  box-shadow: 0 18px 40px rgba(10, 24, 45, .1) !important;
}
.el-simple-menu .el-kiosk-tile:hover,
.el-simple-menu .el-kiosk-tile:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 48px rgba(10, 24, 45, .14) !important;
}
.el-simple-menu .el-kiosk-tile:active { transform: scale(.98); }
.el-simple-menu .el-kiosk-tile-art {
  width: 5.25rem !important; height: 5.25rem !important; border-radius: 1.35rem !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}
.el-simple-menu .el-kiosk-tile-art img {
  width: 5.25rem !important; height: 5.25rem !important;
}
.el-simple-menu .el-kiosk-tile-go { display: none; }
.el-simple-menu .el-kiosk-tile-body { min-width: 0; }
.el-simple-menu .el-kiosk-tile-body strong {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem) !important;
  margin-bottom: .3rem !important; letter-spacing: -.02em;
}
.el-simple-menu .el-kiosk-tile-body small {
  font-size: .95rem !important; line-height: 1.35;
}

/* ===== E-Layanan hub pro (landing) ===== */
.el-hub-pro {
  --el-metal-1: linear-gradient(145deg, #f7f8fa 0%, #e8ecf1 42%, #d5dce6 100%);
  --el-metal-2: linear-gradient(145deg, #eef2f7 0%, #cfd8e6 48%, #aeb9c9 100%);
  --el-metal-3: linear-gradient(145deg, #fbfaf7 0%, #f0ebe3 50%, #e2d7c8 100%);
  --el-metal-4: linear-gradient(145deg, #f4f7f5 0%, #e2ebe6 48%, #c9d8cf 100%);
  --el-metal-5: linear-gradient(145deg, #fbf8f0 0%, #f0e4c8 48%, #e0cfa0 100%);
  --el-metal-6: linear-gradient(145deg, #f5f6f8 0%, #dde3ea 50%, #c2ccd8 100%);
}
.el-hub-pro .el-simple-hero {
  padding-bottom: 2.4rem !important;
}
.el-hub-hero {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.25rem 2.4rem !important;
  min-height: 0;
  border-bottom: 0 !important;
}
.el-hub-hero .portal-hero-net {
  z-index: 0;
  opacity: .9;
}
.el-hub-hero .portal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}
.el-hub-hero-copy {
  max-width: 40rem;
}
.el-hub-hero h1,
.el-hub-pro .el-simple-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.05rem) !important;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .4rem !important;
}
.el-hub-hero .lead,
.el-hub-pro .el-simple-hero .lead {
  max-width: 36rem !important;
  margin: 0 !important;
  font-size: .94rem !important;
  line-height: 1.5;
  color: #b6c6d8 !important;
  opacity: 1 !important;
}
.el-hub-cta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.el-hub-cta-main,
.el-hub-cta-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 2.55rem; padding: 0 1rem;
  border-radius: .85rem; font-weight: 750; font-size: .88rem;
  text-decoration: none; touch-action: manipulation;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.el-hub-cta-main {
  background: linear-gradient(180deg, #e8c56a, #c9a24a);
  color: #1a1408;
  box-shadow: 0 8px 20px rgba(201, 162, 74, .28);
}
.el-hub-cta-main:hover { transform: translateY(-1px); color: #120e05; }
.el-hub-cta-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #e8eef6;
}
.el-hub-cta-ghost:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.el-hub-meta {
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
  margin: .85rem 0 0;
  font-size: .82rem; font-weight: 650; color: #9eb0c6;
}
.el-hub-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.el-hub-meta i { color: color-mix(in srgb, var(--portal-accent) 55%, #d4af62); font-size: .76rem; }

.el-hub-pro .el-simple-section {
  margin-top: 0;
}
.el-hub-pro .el-simple-section > .portal-section-inner {
  max-width: 1120px;
}
.el-hub-body.portal-section {
  position: relative;
  margin-top: -1.15rem !important;
  padding: 1.25rem 1.25rem 2.4rem !important;
  border-radius: 1.55rem 1.55rem 0 0;
  background:
    radial-gradient(ellipse 40% 30% at 0% 20%, rgba(148,163,184,.1), transparent 60%),
    radial-gradient(ellipse 40% 30% at 100% 40%, rgba(148,163,184,.08), transparent 60%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%) !important;
}
.el-hub-body::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='48' fill='none' stroke='%23475569' stroke-width='.6'/%3E%3Ccircle cx='60' cy='60' r='32' fill='none' stroke='%23475569' stroke-width='.45'/%3E%3Ccircle cx='60' cy='60' r='16' fill='none' stroke='%23475569' stroke-width='.35'/%3E%3Cpath d='M60 12v96M12 60h96' stroke='%23475569' stroke-width='.35'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mask-image: linear-gradient(90deg, #000, transparent 28%, transparent 72%, #000);
}
.el-hub-body > .portal-section-inner {
  position: relative; z-index: 1;
  max-width: 1120px;
  gap: 1rem;
}
.el-hub-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem;
  margin: 0;
  padding: .8rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
  backdrop-filter: blur(8px);
}
.el-hub-trust strong {
  font-size: .95rem; letter-spacing: -.01em; color: #0f172a;
}
.el-hub-trust ul {
  display: flex; flex-wrap: wrap; gap: .45rem .75rem;
  margin: 0; padding: 0; list-style: none;
}
.el-hub-trust li {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 700; color: #475569;
}
.el-hub-trust i { color: #b45309; width: 1rem; text-align: center; }
.el-hub-head {
  margin: .15rem 0 0;
}
.el-hub-head h2 {
  margin: 0 0 .2rem;
  font-family: var(--portal-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  letter-spacing: -.02em; color: #0f172a;
}
.el-hub-head p {
  margin: 0; color: #64748b; font-size: .88rem; font-weight: 600;
}
.el-hub-menu.el-simple-menu {
  gap: .9rem !important;
}
.el-hub-menu .el-kiosk-tile {
  position: relative;
  align-items: flex-start !important;
  text-align: left !important;
  gap: .75rem !important;
  min-height: 11rem;
  padding: 1.15rem 1.1rem 1.05rem !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow:
    0 14px 32px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255,255,255,.75) !important;
  overflow: hidden;
}
.el-hub-menu .el-kiosk-tile::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.45) 0%, transparent 42%, rgba(15,23,42,.04) 100%);
}
.el-hub-menu .el-kiosk-tile.tone-amber { background: var(--el-metal-1) !important; }
.el-hub-menu .el-kiosk-tile.tone-sky { background: var(--el-metal-2) !important; }
.el-hub-menu .el-kiosk-tile.tone-steel { background: var(--el-metal-3) !important; }
.el-hub-menu .el-kiosk-tile.tone-emerald { background: var(--el-metal-4) !important; }
.el-hub-menu .el-kiosk-tile.tone-gold { background: var(--el-metal-5) !important; }
.el-hub-menu .el-kiosk-tile.tone-slate { background: var(--el-metal-6) !important; }
.el-hub-menu .el-kiosk-tile:hover,
.el-hub-menu .el-kiosk-tile:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 26px 52px rgba(15, 23, 42, .14),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}
.el-hub-menu .el-kiosk-tile-art {
  width: 4.1rem !important; height: 4.1rem !important;
  border-radius: 1.05rem !important;
  background: rgba(255,255,255,.55) !important;
  box-shadow:
    0 10px 20px rgba(15, 23, 42, .1),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.el-hub-menu .el-kiosk-tile-art img {
  width: 4.1rem !important; height: 4.1rem !important;
}
.el-hub-menu .el-kiosk-tile-body {
  position: relative; z-index: 1;
  width: 100%;
}
.el-hub-menu .el-kiosk-tile-body strong {
  font-size: clamp(1.08rem, 2.4vw, 1.28rem) !important;
  margin-bottom: .35rem !important;
  color: #0f172a;
}
.el-hub-menu .el-kiosk-tile-body small {
  font-size: .88rem !important;
  line-height: 1.4;
  color: #475569 !important;
  font-weight: 600;
}
.el-hub-menu .el-kiosk-tile-go {
  display: grid !important;
  position: absolute;
  right: 1rem; bottom: 1rem;
  width: 2.15rem; height: 2.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  color: #0f172a;
  font-size: .78rem;
  z-index: 1;
}
.el-hub-menu .el-kiosk-tile.tone-amber .el-kiosk-tile-go { background: rgba(194, 65, 12, .12); color: #9a3412; }
.el-hub-menu .el-kiosk-tile.tone-sky .el-kiosk-tile-go { background: rgba(29, 78, 216, .12); color: #1e40af; }
.el-hub-menu .el-kiosk-tile.tone-steel .el-kiosk-tile-go { background: rgba(120, 90, 50, .12); color: #78350f; }
.el-hub-menu .el-kiosk-tile.tone-emerald .el-kiosk-tile-go { background: rgba(4, 120, 87, .12); color: #047857; }
.el-hub-menu .el-kiosk-tile.tone-gold .el-kiosk-tile-go { background: rgba(161, 98, 7, .14); color: #92400e; }
.el-hub-menu .el-kiosk-tile.tone-slate .el-kiosk-tile-go { background: rgba(51, 65, 85, .12); color: #334155; }
.el-hub-foot {
  margin-top: 1.5rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, .28);
  color: #64748b;
  font-size: .82rem;
}
@media (min-width: 860px) {
  .el-hub-hero { padding: 1.15rem 1.35rem 2.65rem !important; }
  .el-hub-menu.el-simple-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .el-hub-menu .el-kiosk-tile { min-height: 11.25rem; padding: 1.2rem 1.15rem 1.1rem !important; }
  .el-hub-menu .el-kiosk-tile-art,
  .el-hub-menu .el-kiosk-tile-art img {
    width: 4.35rem !important; height: 4.35rem !important;
  }
}
@media (max-width: 560px) {
  .el-hub-hero { padding: .9rem 1rem 2.15rem !important; }
  .el-hub-cta { gap: .4rem; }
  .el-hub-cta-main,
  .el-hub-cta-ghost {
    min-height: 2.4rem;
    padding: 0 .85rem;
    font-size: .84rem;
  }
  .el-hub-trust { flex-direction: column; align-items: flex-start; }
  .el-hub-menu .el-kiosk-tile { min-height: 9.85rem; }
}
.el-panel-bar {
  display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem;
}
.el-panel-bar strong { font-size: 1.05rem; color: var(--portal-ink); }
.el-panel-back {
  appearance: none; border: 1px solid var(--portal-line); background: #fff; color: var(--portal-ink);
  border-radius: .8rem; min-height: 2.6rem; padding: 0 .9rem; font-weight: 700; font-size: .88rem;
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  touch-action: manipulation;
}
.el-panel-back:hover { border-color: var(--portal-accent); color: var(--portal-accent); }
.el-simple-form { max-width: 720px; margin: 0 auto; }
.el-simple-form .input, .el-simple-form .form-control, .el-simple-form .form-select {
  min-height: 2.85rem; font-size: 1rem; border-radius: .8rem;
}
.el-simple-actions { margin-top: 1rem; gap: .55rem; }
.el-simple-actions .btn-primary {
  min-height: 3rem; padding: 0 1.35rem; font-size: 1rem; border-radius: .85rem;
}
.el-simple-hint {
  margin: .85rem 0 0; font-size: .84rem; color: var(--portal-muted); line-height: 1.4;
}
.el-info-mini {
  display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: .9rem;
  background: color-mix(in srgb, var(--portal-accent) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--portal-accent) 22%, #e5ebf2);
}
.el-info-mini strong { font-size: .95rem; }
.el-info-mini span { font-size: .82rem; font-weight: 700; color: var(--portal-accent-ink, var(--portal-accent)); }
.el-info-mini small { font-size: .82rem; color: var(--portal-muted); line-height: 1.4; }
.el-katalog-panel { max-width: 720px; margin: 0 auto; }
.el-katalog-lead { margin: 0 0 1rem; color: var(--portal-muted); font-size: .95rem; }
.el-katalog-list { display: grid; gap: .55rem; }
.el-katalog-item {
  border: 1px solid var(--portal-line); border-radius: 1rem; background: #fbfcfe; overflow: hidden;
}
.el-katalog-item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.1rem; min-height: 4.25rem;
  display: grid; gap: .2rem; touch-action: manipulation;
}
.el-katalog-item summary::-webkit-details-marker { display: none; }
.el-katalog-item summary strong { font-size: 1.02rem; }
.el-katalog-item summary small { color: var(--portal-muted); font-weight: 650; }
.el-katalog-item[open] summary {
  border-bottom: 1px solid #eef2f7;
  background: color-mix(in srgb, var(--portal-accent) 7%, #fff);
}
.el-katalog-body { padding: .9rem 1.1rem 1.1rem; font-size: .9rem; line-height: 1.45; color: #334155; }
.el-katalog-body p { margin: 0 0 .55rem; }
.el-katalog-ajukan {
  margin-top: .25rem; min-height: 2.75rem; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: .8rem; font-weight: 700;
  background: var(--portal-accent); color: #fff; touch-action: manipulation;
}
@media (min-width: 860px) {
  .el-simple-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
  .el-simple-menu .el-kiosk-tile { min-height: 13rem; padding: 1.6rem 1.2rem 1.4rem !important; }
  .el-simple-menu .el-kiosk-tile-art,
  .el-simple-menu .el-kiosk-tile-art img {
    width: 5.75rem !important; height: 5.75rem !important;
  }
}
@media (max-width: 560px) {
  .el-simple-menu .el-kiosk-tile { min-height: 10.25rem; padding: 1.15rem .9rem 1.05rem !important; }
  .el-simple-menu .el-kiosk-tile-art,
  .el-simple-menu .el-kiosk-tile-art img {
    width: 4.5rem !important; height: 4.5rem !important;
  }
}
@media (max-width: 380px) {
  .el-simple-menu { grid-template-columns: 1fr !important; }
  .el-simple-menu .el-kiosk-tile { min-height: 9.5rem; }
}

.el-kiosk-hero .lead { max-width: 36rem; }
.el-kiosk-jam,
.el-kiosk-rating-meta {
  display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  margin: .85rem .65rem 0 0; padding: .45rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  font-size: .84rem; font-weight: 650; color: #e2e8f0;
}
.el-kiosk-menu {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.el-kiosk-tile {
  display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center;
  min-height: 6.25rem; padding: .95rem 1rem; border-radius: 1.2rem; text-decoration: none;
  color: var(--portal-ink); background: #fff; border: 1px solid rgba(220,228,238,.95);
  box-shadow: 0 14px 30px rgba(10, 24, 45, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.el-kiosk-tile:hover, .el-kiosk-tile:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--portal-accent) 42%, #e5ebf2);
  box-shadow: 0 18px 36px rgba(10, 24, 45, .11);
  outline: none;
}
.el-kiosk-tile:active { transform: scale(.985); }
.el-kiosk-tile-art {
  width: 3.6rem; height: 3.6rem; border-radius: 1rem; display: grid; place-items: center;
  background: #f8fafc; overflow: hidden; flex-shrink: 0;
}
.el-kiosk-tile-art img { width: 3.6rem; height: 3.6rem; object-fit: cover; display: block; }
.el-kiosk-tile-body strong {
  display: block; font-family: var(--portal-display); font-size: 1.05rem; font-weight: 750;
  letter-spacing: -.015em; line-height: 1.25; margin-bottom: .2rem;
}
.el-kiosk-tile-body small {
  display: block; color: var(--portal-muted); font-size: .84rem; line-height: 1.4; font-weight: 600;
}
.el-kiosk-tile-go {
  width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center;
  background: #f1f5f9; color: var(--portal-muted); font-size: .78rem;
}
.el-kiosk-tile.tone-amber .el-kiosk-tile-go { background: #fff7ed; color: #c2410c; }
.el-kiosk-tile.tone-sky .el-kiosk-tile-go { background: #eff6ff; color: #1d4ed8; }
.el-kiosk-tile.tone-violet .el-kiosk-tile-go { background: #f5f3ff; color: #6d28d9; }
.el-kiosk-tile.tone-emerald .el-kiosk-tile-go { background: #ecfdf5; color: #047857; }
.el-kiosk-tile.tone-rose .el-kiosk-tile-go { background: #fff1f2; color: #be123c; }
.el-kiosk-tile.tone-slate .el-kiosk-tile-go { background: #f1f5f9; color: #334155; }

.el-kiosk-rate { display: grid; gap: 1rem; }
.el-kiosk-rate-head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; justify-content: space-between;
}
.el-kiosk-rate-head h2 {
  margin: 0 0 .35rem; font-size: 1.2rem; display: flex; align-items: center; gap: .5rem;
}
.el-kiosk-rate-head p { margin: 0; color: var(--portal-muted); font-size: .92rem; line-height: 1.45; max-width: 36rem; }
.el-kiosk-mood-preview { display: flex; flex-wrap: wrap; gap: .45rem; }
.el-kiosk-mood-preview span {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem;
  border-radius: .85rem; font-size: .82rem; font-weight: 750;
}
.el-kiosk-mood-preview .is-happy { background: rgba(16,185,129,.12); color: #047857; }
.el-kiosk-mood-preview .is-sad { background: rgba(244,63,94,.1); color: #be123c; }
.el-kiosk-rate-form {
  display: grid; gap: .75rem;
  grid-template-columns: 1.2fr .8fr auto; align-items: end;
}
.el-kiosk-field { display: grid; gap: .35rem; min-width: 0; }
.el-kiosk-field span { font-size: .78rem; font-weight: 750; color: var(--portal-muted); }
.el-kiosk-field .input {
  min-height: 3.1rem; font-size: 1.05rem; border-radius: .9rem; font-weight: 650;
}
.el-kiosk-rate-btn {
  min-height: 3.1rem; padding: 0 1.25rem; border-radius: .9rem; font-size: 1rem;
  white-space: nowrap; touch-action: manipulation;
}
.el-kiosk-rate-note { margin: 0; font-size: .82rem; color: var(--portal-muted); }

.el-kiosk-catalog {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.el-kiosk-card {
  background: #fff; border: 1px solid rgba(220,228,238,.95); border-radius: 1.15rem;
  box-shadow: 0 12px 28px rgba(10, 24, 45, .06); overflow: hidden;
}
.el-kiosk-card summary {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center;
  padding: .95rem 1rem; min-height: 5.25rem;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.el-kiosk-card summary::-webkit-details-marker { display: none; }
.el-kiosk-card[open] summary {
  border-bottom: 1px solid #eef2f7;
  background: color-mix(in srgb, var(--portal-accent) 6%, #fff);
}
.el-kiosk-card-art {
  width: 3.25rem; height: 3.25rem; border-radius: .9rem; overflow: hidden; background: #f8fafc;
}
.el-kiosk-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-kiosk-card-text strong {
  display: block; font-size: .98rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.3;
}
.el-kiosk-card-text small { display: block; margin-top: .2rem; color: var(--portal-muted); font-weight: 600; }
.el-kiosk-card-badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .5rem; border-radius: .55rem; background: #f1f5f9; color: #475569; max-width: 6.5rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.el-kiosk-card-body {
  padding: .95rem 1rem 1.1rem; font-size: .9rem; line-height: 1.5; color: #334155;
}
.el-kiosk-card-body p { margin: 0 0 .55rem; }
.el-kiosk-card-body ul { margin: .2rem 0 .7rem 1.1rem; padding: 0; }
.el-kiosk-card-body .portal-btn { margin-top: .35rem; min-height: 2.75rem; }

.el-kiosk-aside h3 { margin-bottom: .75rem; }
.el-kiosk-steps {
  margin: 0 0 1rem; padding-left: 1.15rem; display: grid; gap: .55rem;
  color: var(--portal-muted); font-size: .9rem; line-height: 1.45;
}
.el-kiosk-steps strong { color: var(--portal-ink); }
.el-kiosk-aside-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.el-kiosk-aside-actions .portal-btn-light {
  min-height: 2.6rem; padding: .55rem .85rem; border-radius: .8rem;
  background: #f8fafc; color: var(--portal-ink); border: 1px solid var(--portal-line);
}

@media (max-width: 960px) {
  .el-kiosk-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .el-kiosk-rate-form { grid-template-columns: 1fr 1fr; }
  .el-kiosk-rate-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 700px) {
  .el-kiosk-catalog { grid-template-columns: 1fr; }
  .portal-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .el-kiosk-menu { grid-template-columns: 1fr; }
  .el-kiosk-tile { min-height: 5.5rem; }
  .el-kiosk-rate-form { grid-template-columns: 1fr; }
}
.sat-saran-wrap { margin-top: .35rem; }
.sat-saran-wrap .label { color: #0f172a; font-weight: 700; font-size: .92rem; }
.sat-opt { font-weight: 550; color: #64748b; font-size: .82rem; }
.sat-saran {
  margin-top: .4rem; border: 1.5px solid #e2e8f0 !important; border-radius: .85rem !important;
  background: #f8fafc !important; color: #0f172a !important; min-height: 5.5rem;
}
.sat-saran:focus {
  border-color: #059669 !important; background: #fff !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}
.sat-saran-tip { margin: .5rem 0 0; font-size: .82rem; color: #be123c; font-weight: 650; }
.sat-actions { margin-top: 1.15rem; }
.sat-submit {
  min-height: 2.75rem; padding: .7rem 1.25rem; font-weight: 750; font-size: .95rem;
  border-radius: .8rem; transition: transform .15s ease, box-shadow .2s, filter .15s;
}
.sat-submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.sat-thanks { text-align: center; }
.sat-thanks-face {
  width: 4.5rem; height: 4.5rem; margin: 0 auto .75rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.4rem;
  animation: satBounce .6s cubic-bezier(.22,1,.36,1);
}
.sat-thanks-face.is-happy { color: #10b981; background: rgba(16,185,129,.12); }
.sat-thanks-face.is-sad { color: #f43f5e; background: rgba(244,63,94,.1); }
@keyframes satBounce {
  0% { transform: scale(.6); opacity: 0; }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes satGlow {
  0%, 100% { opacity: .25; transform: scale(.92); }
  50% { opacity: .55; transform: scale(1.08); }
}
@keyframes satPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,.35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ---------- Public surface ---------- */
.portal-public {
  min-height: 100vh;
  font-family: var(--portal-font);
  color: #fff;
  background: var(--portal-hero-to, #07111d);
}
.portal-public-top {
  /* Di atas hero + section (margin negatif) agar dropdown Aplikasi tidak tertutup */
  position: relative; z-index: 50;
  overflow: visible;
  display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 1rem; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 0;
}
.portal-public-brand { min-width: 0; }
.portal-public-brand strong {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18rem;
}
.portal-public-brand {
  display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff;
}
.portal-public-brand img, .portal-public-brand .mark {
  width: 44px; height: 44px; border-radius: 13px; object-fit: contain;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
}
.portal-public-brand .mark { color: #fff; font-size: 1rem; }
.portal-public-brand strong {
  display: block; font-family: var(--portal-display); font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
}
.portal-public-brand span { display: block; font-size: .75rem; color: #9db0c6; font-weight: 600; }
.portal-public-topnav {
  display: flex; flex-wrap: nowrap; gap: .4rem; align-items: center; justify-content: flex-end;
  position: relative; z-index: 1; overflow: visible;
}

/* Navigasi E-Layanan — ringkas + menu Lainnya */
.portal-el-nav {
  display: flex; align-items: center; gap: .15rem;
  padding: .2rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.portal-el-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .42rem .85rem; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: .8rem; font-weight: 700; border: 0; background: transparent;
  cursor: pointer; white-space: nowrap; font: inherit; font-size: .8rem; font-weight: 700;
}
.portal-el-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.portal-el-link.is-on {
  color: #fff; background: color-mix(in srgb, var(--portal-accent) 55%, rgba(255,255,255,.2));
}
.portal-el-more { position: relative; z-index: 60; }
.portal-el-more-btn i { font-size: .62rem; opacity: .85; }
.portal-el-more-panel {
  position: absolute; right: 0; top: 100%; padding-top: .45rem;
  min-width: 17.5rem; z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px); transition: .12s ease;
}
.portal-el-more.is-open .portal-el-more-panel,
.portal-el-more:focus-within .portal-el-more-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .portal-el-more:hover .portal-el-more-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
}
.portal-el-more-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18); padding: .45rem .4rem .5rem;
  color: #0f172a; max-height: min(75vh, 28rem); overflow: auto;
}
.portal-el-group {
  margin: .45rem .65rem .2rem; font-size: .65rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #94a3b8;
}
.portal-el-group:first-child { margin-top: .2rem; }
.portal-el-more-card a {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .55rem .65rem; border-radius: 10px;
  color: #0f172a; text-decoration: none;
}
.portal-el-more-card a i {
  margin-top: .15rem; width: 1.1rem; text-align: center;
  color: var(--portal-accent, #0f766e);
}
.portal-el-more-card a strong { display: block; font-size: .88rem; font-weight: 700; }
.portal-el-more-card a small { display: block; color: #64748b; font-size: .72rem; font-weight: 500; margin-top: .1rem; }
.portal-el-more-card a:hover { background: #f8fafc; }
.portal-el-more-card a.is-on { background: color-mix(in srgb, var(--portal-accent, #0f766e) 10%, #fff); }
@media (max-width: 860px) {
  .portal-el-nav { width: 100%; justify-content: flex-start; overflow-x: auto; }
}

/* Switcher Aplikasi (portal publik) */
.portal-app-switch { position: relative; z-index: 60; }
.portal-app-switch > button { cursor: pointer; }
.portal-app-switch-panel {
  position: absolute; right: 0; top: 100%; padding-top: .45rem;
  min-width: 15.5rem; z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px); transition: .12s ease;
}
.portal-app-switch.is-open .portal-app-switch-panel,
.portal-app-switch:focus-within .portal-app-switch-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .portal-app-switch:hover .portal-app-switch-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
}
.portal-app-switch-menu {
  max-height: min(70vh, 20rem); overflow: auto;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18); padding: .4rem;
}
.portal-app-switch-menu a {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem; border-radius: 8px;
  color: #0f172a; text-decoration: none; font-size: .9rem; font-weight: 600;
}
.portal-app-switch-menu a:hover { background: #f8fafc; }

/* Akun / Buka panel — hover profil + keluar */
.portal-account-menu { position: relative; z-index: 60; }
.portal-account-menu > .portal-btn,
.portal-account-menu > button.portal-btn {
  cursor: pointer; border: 0; font: inherit;
}
.portal-account-menu-panel {
  position: absolute; right: 0; top: 100%; padding-top: .45rem;
  min-width: 15rem; z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px); transition: .12s ease;
}
.portal-account-menu.is-open .portal-account-menu-panel,
.portal-account-menu:focus-within .portal-account-menu-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .portal-account-menu:hover .portal-account-menu-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
}
.portal-account-menu-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18); padding: .45rem;
  color: #0f172a;
}
.portal-account-head {
  display: flex; align-items: center; gap: .65rem;
  padding: .55rem .65rem .7rem; border-bottom: 1px solid #eef2f7; margin-bottom: .25rem;
}
.portal-account-avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 999px; flex-shrink: 0;
  background: color-mix(in srgb, var(--portal-accent, #0f766e) 18%, #e2e8f0);
  color: color-mix(in srgb, var(--portal-accent, #0f766e) 80%, #0f172a);
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; overflow: hidden;
}
.portal-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-account-head strong { display: block; font-size: .9rem; line-height: 1.2; }
.portal-account-head small { display: block; color: #64748b; font-size: .72rem; font-weight: 600; margin-top: .1rem; }
.portal-account-menu-card a,
.portal-account-menu-card button.portal-account-item {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .55rem .7rem; border-radius: 8px;
  color: #0f172a; text-decoration: none; font-size: .88rem; font-weight: 600;
  background: transparent; border: 0; cursor: pointer; text-align: left; font: inherit;
}
.portal-account-menu-card a:hover,
.portal-account-menu-card button.portal-account-item:hover { background: #f8fafc; }
.portal-account-menu-card .is-danger { color: #b91c1c; }
.portal-account-menu-card .is-danger:hover { background: #fef2f2; }
.portal-account-menu-card form { margin: 0; }

.portal-public-topnav .portal-btn-light,
.portal-public-topnav .portal-btn {
  white-space: nowrap;
  font-size: .8rem;
  padding: .45rem .8rem;
  border-radius: 999px;
}
.portal-public-topnav .portal-btn-light {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.42);
  color: #fff;
}
@media (max-width: 860px) {
  .portal-public-top {
    flex-wrap: wrap; gap: .65rem;
    padding: .85rem .9rem 0;
  }
  .portal-public-brand strong { max-width: 11rem; font-size: .92rem; }
  .portal-public-brand span { font-size: .7rem; }
  .portal-public-brand img, .portal-public-brand .mark {
    width: 38px; height: 38px; border-radius: 11px;
  }
  .portal-public-topnav {
    flex-wrap: wrap; width: 100%; gap: .35rem;
  }
  .portal-public-topnav .portal-btn-light,
  .portal-public-topnav .portal-btn {
    font-size: .74rem; padding: .4rem .7rem;
  }
}
@media (max-width: 480px) {
  .portal-public-topnav .nav-hide-sm { display: none !important; }
  .portal-hero-cta .portal-btn,
  .portal-hero-cta .portal-btn-light,
  .portal-actions .portal-btn,
  .portal-actions .btn-primary,
  .portal-actions .portal-btn-light {
    flex: 1 1 auto; justify-content: center; min-height: 2.75rem;
  }
}

/* Intro aplikasi: ringkas + network animasi */
.portal-hero {
  position: relative; isolation: isolate;
  min-height: 0;
  display: block;
  overflow: hidden;
  padding: 1.15rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.portal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(520px 180px at 100% 0%, color-mix(in srgb, var(--portal-accent) 32%, transparent), transparent 70%),
    linear-gradient(180deg, var(--portal-hero-from, #0a1628) 0%, var(--portal-hero-to, #07111d) 100%);
}
.portal-hero::after { display: none; }
.portal-hero-orb { display: none; }
.portal-hero-net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; display: block;
  opacity: .9;
}
.portal-hero-inner {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto; width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .portal-hero-net { display: none; }
}
.portal-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 .55rem; padding: .28rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--portal-accent) 40%, #fff);
}
.portal-hero h1 {
  margin: 0; max-width: none;
  font-family: var(--portal-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em;
}
.portal-hero .lead {
  margin: .45rem 0 0; max-width: 42rem; color: #9db0c6;
  font-size: .92rem; line-height: 1.55; font-weight: 500;
}
.portal-hero-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.portal-btn-light {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08);
  color: #fff; border-radius: .85rem; padding: .72rem 1rem; font-weight: 700; text-decoration: none;
  backdrop-filter: blur(8px); transition: .15s ease;
}
.portal-btn-light:hover { background: rgba(255,255,255,.16); }

.portal-section {
  position: relative; z-index: 1;
  background:
    radial-gradient(640px 220px at 0% 0%, color-mix(in srgb, var(--portal-accent) 10%, transparent), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
  color: var(--portal-ink);
  border-radius: 1.75rem 1.75rem 0 0;
  margin-top: -1.25rem;
  padding: 1.75rem 1.15rem 2.75rem;
}
.portal-section-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 1.15rem; }
.portal-section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: end;
}
.portal-section-head h2 {
  margin: 0; font-family: var(--portal-display); font-size: 1.35rem; letter-spacing: -.02em;
}
.portal-section-head p { margin: .3rem 0 0; color: var(--portal-muted); }

.portal-public-card {
  background: #fff; color: var(--portal-ink);
  border-radius: 1.25rem; padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid rgba(220,228,238,.95);
  box-shadow: 0 18px 40px rgba(10, 24, 45, .07);
}
.portal-public-card h2, .portal-public-card h3 {
  margin: 0 0 .85rem; font-family: var(--portal-display); font-weight: 700; letter-spacing: -.015em;
}
.portal-public-card h2 { font-size: 1.15rem; }
.portal-public-card h3 { font-size: 1.02rem; }

.portal-split {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1.25fr .85fr;
  align-items: start;
}
.portal-side-list { display: grid; gap: .65rem; }
.portal-side-item {
  padding: .85rem .95rem; border: 1px solid #e5ebf2; border-radius: 1rem; background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.portal-side-item:hover {
  border-color: color-mix(in srgb, var(--portal-accent) 35%, #e5ebf2);
  box-shadow: 0 8px 20px rgba(10, 24, 45, .05);
}
.portal-side-item strong { display: block; font-weight: 800; margin-bottom: .15rem; }
.portal-side-item small { color: var(--portal-muted); line-height: 1.45; display: block; }

/* Feature tiles & langkah */
.portal-features {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portal-feature {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(220,228,238,.95);
  border-radius: 1.15rem; padding: 1.1rem 1rem 1rem;
  box-shadow: 0 14px 32px rgba(10, 24, 45, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portal-feature:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--portal-accent) 40%, #e5ebf2);
  box-shadow: 0 18px 36px rgba(10, 24, 45, .1);
}
.portal-feature-icon {
  width: 2.5rem; height: 2.5rem; border-radius: .85rem; display: grid; place-items: center;
  background: var(--portal-accent-soft); color: var(--portal-accent);
  font-size: 1.05rem; margin-bottom: .75rem;
}
.portal-feature strong {
  display: block; font-family: var(--portal-display); font-size: .98rem;
  letter-spacing: -.015em; margin-bottom: .25rem;
}
.portal-feature span {
  display: block; color: var(--portal-muted); font-size: .84rem; line-height: 1.45;
}
.portal-steps {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: portal-step;
}
.portal-step {
  position: relative;
  background: #fff; border: 1px solid #e5ebf2; border-radius: 1.1rem;
  padding: 1.05rem 1rem 1rem 1rem;
}
.portal-step::before {
  counter-increment: portal-step;
  content: counter(portal-step);
  display: grid; place-items: center;
  width: 1.85rem; height: 1.85rem; border-radius: 999px;
  margin-bottom: .65rem;
  background: linear-gradient(145deg, var(--portal-accent), var(--portal-accent-ink));
  color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--portal-accent) 35%, transparent);
}
.portal-step strong {
  display: block; font-family: var(--portal-display); font-size: .95rem; margin-bottom: .2rem;
}
.portal-step span { display: block; color: var(--portal-muted); font-size: .84rem; line-height: 1.45; }
.portal-highlight {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem;
  padding: 1rem 1.15rem; border-radius: 1.15rem;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--portal-accent) 12%, #fff),
    color-mix(in srgb, var(--portal-accent) 4%, #fff));
  border: 1px solid color-mix(in srgb, var(--portal-accent) 22%, #e5ebf2);
}
.portal-highlight strong {
  display: block; font-family: var(--portal-display); font-size: 1.02rem; letter-spacing: -.015em;
}
.portal-highlight span { display: block; color: var(--portal-muted); font-size: .86rem; margin-top: .15rem; line-height: 1.45; }
.portal-chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.portal-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: var(--portal-accent-soft); color: var(--portal-accent-ink);
}
.portal-chip i { font-size: .7rem; opacity: .85; }

.portal-public-foot {
  max-width: 1120px; margin: 1.25rem auto 0; padding: 0;
  color: #6b7c90; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between;
}

/* ---------- Login ---------- */
.portal-login-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  font-family: var(--portal-font);
}
.portal-login-brand {
  position: relative; overflow: hidden; color: #fff; padding: 2.4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(500px 300px at 20% 20%, color-mix(in srgb, var(--portal-accent) 45%, transparent), transparent 60%),
    linear-gradient(155deg, #050d16, #0f2238 55%, #12324a);
}
.portal-login-brand::after {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.portal-login-brand > * { position: relative; z-index: 1; }
.portal-login-brand h1 {
  margin: .7rem 0 .5rem; font-family: var(--portal-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; max-width: 12ch;
}
.portal-login-brand p { margin: 0; color: #b2c1d3; max-width: 28rem; line-height: 1.6; }
.portal-login-points { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.portal-login-points li {
  display: flex; gap: .55rem; align-items: flex-start; color: #d5e0ec; font-weight: 600; font-size: .92rem;
}
.portal-login-points i { color: color-mix(in srgb, var(--portal-accent) 40%, #fff); margin-top: .15rem; }
.portal-login-panel {
  display: grid; place-items: center; padding: 2rem 1.35rem;
  background: linear-gradient(180deg, #f5f8fc, #e9eef5);
}
.portal-login-card {
  width: min(420px, 100%); background: #fff; border-radius: 1.4rem;
  padding: 1.55rem 1.45rem 1.35rem; border: 1px solid #e4ebf3;
  box-shadow: 0 24px 55px rgba(10, 24, 45, .1);
}
.portal-login-card .eyebrow {
  margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--portal-accent);
}
.portal-login-card h2 {
  margin: .4rem 0 .25rem; font-family: var(--portal-display);
  font-size: 1.45rem; letter-spacing: -.02em;
}
.portal-login-card .muted { color: var(--portal-muted); font-size: .92rem; margin: 0 0 1.1rem; line-height: 1.5; }

/* ---------- Role picker ---------- */
.portal-login-card.portal-role-card { width: min(460px, 100%); }
.portal-role-list {
  display: grid; gap: .65rem; margin: 0 0 1.15rem;
}
.portal-role-option {
  position: relative; display: grid; grid-template-columns: auto 1fr auto;
  gap: .85rem; align-items: center; padding: .95rem 1rem;
  border: 1.5px solid #e2eaf3; border-radius: 1.05rem; background: #f8fafc;
  cursor: pointer; transition: border-color .22s ease, background .22s ease,
    box-shadow .22s ease, transform .22s ease;
}
.portal-role-option:hover {
  border-color: color-mix(in srgb, var(--portal-accent) 45%, #cbd5e1);
  background: #fff; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 34, 56, .07);
}
.portal-role-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.portal-role-ico {
  width: 2.65rem; height: 2.65rem; border-radius: .9rem;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #eef2f7, #e2e8f0);
  color: #334155; font-size: 1.05rem;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.portal-role-copy { min-width: 0; display: grid; gap: .15rem; }
.portal-role-copy strong {
  font-size: .98rem; font-weight: 800; color: var(--portal-ink);
  letter-spacing: -.01em; line-height: 1.25;
}
.portal-role-copy small {
  color: var(--portal-muted); font-size: .78rem; line-height: 1.4; font-weight: 600;
}
.portal-role-check {
  width: 1.55rem; height: 1.55rem; border-radius: 999px;
  border: 1.5px solid #cbd5e1; display: grid; place-items: center;
  color: transparent; font-size: .7rem; background: #fff;
  transition: all .2s ease;
}
.portal-role-option.is-selected {
  border-color: var(--portal-accent);
  background: color-mix(in srgb, var(--portal-accent) 8%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal-accent) 18%, transparent),
    0 12px 28px rgba(15, 34, 56, .08);
}
.portal-role-option.is-selected .portal-role-ico {
  background: linear-gradient(145deg, var(--portal-accent), color-mix(in srgb, var(--portal-accent) 70%, #0f172a));
  color: #fff; transform: scale(1.04);
}
.portal-role-option.is-selected .portal-role-check {
  border-color: var(--portal-accent); background: var(--portal-accent); color: #fff;
}
.portal-role-actions { margin-top: .15rem; }
.portal-role-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.portal-role-footer {
  margin: 1rem 0 0; text-align: center; display: flex; gap: .5rem;
  justify-content: center; flex-wrap: wrap;
}
@media (prefers-reduced-motion: reduce) {
  .portal-role-option, .portal-role-ico, .portal-role-check { transition: none; }
  .portal-role-option:hover { transform: none; }
}

.portal-pager {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  align-items: center; margin-top: .85rem;
}
.portal-pager-info { margin: 0; color: var(--portal-muted); font-size: .85rem; font-weight: 600; }
.portal-pager-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.portal-pager-btn {
  min-width: 2.15rem; height: 2.15rem; padding: 0 .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--portal-line); border-radius: .65rem; background: #fff;
  color: var(--portal-ink); text-decoration: none; font-weight: 700; font-size: .9rem;
  line-height: 1;
}
.portal-pager-btn:hover { border-color: var(--portal-accent); color: var(--portal-accent); }
.portal-pager-btn.is-active {
  background: var(--portal-accent); border-color: var(--portal-accent); color: #fff;
}
.portal-pager-btn.is-disabled {
  opacity: .4; pointer-events: none; cursor: default;
}
.portal-pager-ellipsis { color: var(--portal-muted); padding: 0 .2rem; font-weight: 700; }
.portal-menu-btn {
  display: none; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
  color: #fff; border-radius: .8rem; padding: .55rem .75rem; font-weight: 700; cursor: pointer;
}
.portal-sidebar-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(7,17,29,.45); z-index: 30;
}
.portal-kode-box {
  font-family: var(--portal-display); font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: .08em; font-weight: 700; padding: .85rem 1rem; border-radius: 1rem;
  background: var(--portal-accent-soft); color: var(--portal-accent-ink); text-align: center;
}
.portal-print-only { display: none; }
@media print {
  .portal-public-top, .portal-hero-cta, .portal-public-topnav, .portal-section .portal-actions,
  .portal-btn, .btn-primary, .portal-btn-ghost, .portal-btn-light { display: none !important; }
  .portal-print-only { display: block !important; }
  .portal-public, .portal-section { background: #fff !important; color: #000 !important; }
  .portal-public-card, .portal-ticket { box-shadow: none !important; border: 1px solid #ccc !important; }
}

@media (max-width: 980px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-menu-btn { display: inline-flex; align-items: center; gap: .4rem; }
  .portal-sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(300px, 88vw); height: 100vh; z-index: 40;
    transform: translateX(-105%); transition: transform .25s ease;
  }
  .portal-shell.is-nav-open .portal-sidebar { transform: translateX(0); }
  .portal-shell.is-nav-open .portal-sidebar-backdrop { display: block; }
  .portal-main { padding-top: .9rem; }
  .portal-top { align-items: center; }
  .portal-split, .portal-login-wrap { grid-template-columns: 1fr; }
  .portal-login-brand { min-height: 280px; }
  .portal-form-grid { grid-template-columns: 1fr; }
  .portal-hero { min-height: 0; padding: 1rem .9rem 1.35rem; }
  .portal-hero h1 { font-size: clamp(1.25rem, 6vw, 1.65rem); }
  .portal-section { margin-top: -.85rem; padding: 1.35rem .9rem 2.25rem; border-radius: 1.35rem 1.35rem 0 0; }
  .portal-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-steps { grid-template-columns: 1fr; }
  .portal-feature:hover { transform: none; }
}
@media (max-width: 560px) {
  .portal-features { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr 1fr; }
  .portal-public-card { padding: 1.05rem .95rem 1rem; border-radius: 1.05rem; }
  .portal-highlight { flex-direction: column; align-items: stretch; }
  .portal-highlight .portal-actions { width: 100%; }
}

/* ===== Modal Tambah / Ubah di tengah layar (portal-modal.js) ===== */
.pm-hidden { display: none !important; }
.pm-trigger-row { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
body.pm-lock { overflow: hidden; }
.pm-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.pm-modal {
  width: min(640px, 100%); max-height: calc(100vh - 2rem);
  background: #fff; border-radius: 16px; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .35); overflow: hidden;
  animation: pmIn .16s ease-out;
}
@keyframes pmIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.pm-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; }
.pm-head h2 { margin: 0; font-size: 1.1rem; line-height: 1.2; }
.pm-head p { margin: .15rem 0 0; font-size: .85rem; color: #64748b; }
.pm-head-icon {
  width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--portal-accent, #0d9488) 14%, #fff); color: var(--portal-accent, #0d9488);
}
.pm-x { margin-left: auto; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #64748b; }
.pm-x:hover { color: #0f172a; }
.pm-body { padding: 1.1rem 1.25rem; overflow: auto; }
.pm-body .portal-form-grid { margin-top: 0; }
.pm-foot { display: flex; justify-content: flex-end; gap: .6rem; padding: .85rem 1.25rem; border-top: 1px solid #e2e8f0; background: #f8fafc; }
@media (max-width: 560px) { .pm-modal { max-height: calc(100vh - 1rem); } .pm-foot > button { flex: 1; } }
/* ===== Sidebar portal: menu dikelompokkan & ringkas ===== */
.portal-sidebar { gap: .85rem; padding: 1.15rem .9rem; }
.portal-nav-label { margin: 0 .55rem .15rem; }
.portal-nav { gap: .12rem; }
.portal-nav-link {
  padding: .52rem .7rem; font-size: .875rem; border-radius: .65rem; font-weight: 600;
}
.portal-nav-link i { width: 1.05rem; font-size: .82rem; opacity: .85; }
.portal-nav-group { margin-top: .55rem; }
.portal-nav-group:first-child { margin-top: .15rem; }
.portal-nav-group-label {
  margin: 0 .55rem .28rem; padding: 0;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #7b8fa6; line-height: 1.2;
}
.portal-nav-group-items { display: grid; gap: .1rem; padding-left: .15rem; }
.portal-nav-group-items .portal-nav-link { padding-left: .75rem; }
.portal-nav-badge {
  margin-left: auto; background: #ef4444; color: #fff; border-radius: 999px;
  font-size: .7rem; font-weight: 800; min-width: 1.2rem; height: 1.2rem; padding: 0 .35rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Absen harian: kamera di kiri, info berhasil di kanan */
.absen-split{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:1.25rem;align-items:start;margin-top:1rem}
.absen-split-info{position:sticky;top:1rem}
.absen-wait{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;text-align:center;min-height:200px;padding:1.25rem;border:2px dashed #cbd5e1;border-radius:14px;color:#64748b;font-size:.9rem}
.absen-wait i{font-size:1.8rem;opacity:.7}
.absen-wait strong{color:#334155;font-size:1rem}
@media (max-width:860px){.absen-split{grid-template-columns:1fr}.absen-split-info{position:static}}
