/* Portal Presensi Darurat — 2026 UI */
:root {
  --navy: #0B1F3A;
  --navy-2: #143052;
  --teal: #059669;
  --teal-2: #10B981;
  --teal-soft: rgba(16, 185, 129, 0.12);
  --warn: #D97706;
  --danger: #DC2626;
  --text: #0f172a;
  --muted: #64748b;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  color: var(--text);
  background: #E8F1EC;
  -webkit-font-smoothing: antialiased;
}
.app-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 0% -10%, rgba(16, 185, 129, 0.28), transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(11, 31, 58, 0.22), transparent 50%),
    linear-gradient(165deg, #EAF4EF 0%, #F4F7F9 45%, #E7EEF6 100%);
}
.app {
  --app-pad-x: max(1rem, env(safe-area-inset-left));
  --app-pad-r: max(1rem, env(safe-area-inset-right));
  --app-pad-b: max(2.75rem, calc(1.5rem + env(safe-area-inset-bottom)));
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: max(0.85rem, env(safe-area-inset-top)) var(--app-pad-r) var(--app-pad-b) var(--app-pad-x);
}

.ico { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.glass-panel, .glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.glass-hero {
  background: linear-gradient(145deg, rgba(11, 31, 58, 0.96), rgba(15, 61, 46, 0.92) 60%, rgba(5, 150, 105, 0.85));
  color: #fff;
  border-radius: 28px;
  padding: 1.25rem 1.2rem 1.35rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-time { font-size: 0.78rem; font-weight: 600; opacity: 0.85; font-variant-numeric: tabular-nums; }
.hero-brand { margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; font-weight: 600; }
.hero h1 { margin: 0.35rem 0 0.45rem; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { margin: 0; font-size: 0.9rem; line-height: 1.5; opacity: 0.9; }

.steps {
  border-radius: 18px; padding: 0.75rem 0.85rem 0.65rem; margin-bottom: 0.85rem;
}
.steps-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: space-between; gap: 0.25rem;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; flex: 1; opacity: 0.4; transition: opacity 0.3s var(--ease); }
.step.is-active, .step.is-done { opacity: 1; }
.step-dot {
  width: 1.65rem; height: 1.65rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800;
  background: #e2e8f0; color: var(--muted);
  transition: all 0.3s var(--ease);
}
.step.is-active .step-dot { background: var(--teal); color: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.step.is-done .step-dot { background: var(--navy); color: #fff; }
.step-label { font-size: 0.62rem; font-weight: 600; color: var(--muted); }
.steps-bar { height: 4px; background: rgba(11, 31, 58, 0.08); border-radius: 99px; margin-top: 0.55rem; overflow: hidden; }
.steps-bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 99px; transition: width 0.45s var(--ease); }

.card {
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  margin-bottom: 0.85rem;
  animation: rise 0.45s var(--ease) both;
}
.card-head { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.card-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}
.card-icon.teal { background: var(--teal-soft); color: var(--teal); }
.card-icon.navy { background: rgba(11, 31, 58, 0.1); color: var(--navy); }
.card-icon.warn { background: rgba(217, 119, 6, 0.12); color: var(--warn); }
.card-title { margin: 0; font-size: 1.05rem; font-weight: 750; color: var(--navy); letter-spacing: -0.01em; }
.card-title.center { text-align: center; margin-bottom: 0.85rem; }
.card-desc { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

.lbl { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--navy); }
.input-wrap { position: relative; margin-bottom: 0.75rem; }
.input-ico { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--muted); pointer-events: none; }
.inp, select.inp, textarea.inp {
  width: 100%;
  border: 1.5px solid rgba(11, 31, 58, 0.1);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap .inp { padding-left: 2.5rem; margin-bottom: 0; }
.inp:focus, select.inp:focus, textarea.inp:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  font-weight: 750;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, opacity 0.2s;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.35);
}
.btn-secondary { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid rgba(11, 31, 58, 0.14);
}
.btn-masuk {
  background: linear-gradient(135deg, #047857, var(--teal-2));
  color: #fff; font-size: 1.05rem; padding: 1.15rem;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.35);
}
.btn-pulang {
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: #fff; font-size: 1.05rem; padding: 1.15rem;
}
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.msg {
  margin-top: 0.65rem; padding: 0.8rem 0.9rem; border-radius: 14px;
  background: #fef2f2; color: var(--danger); white-space: pre-line; font-size: 0.9rem; font-weight: 550;
  border: 1px solid #fecaca;
}
.alert {
  display: flex; gap: 0.65rem; align-items: flex-start;
  padding: 0.9rem 1rem; border-radius: 16px; margin-bottom: 0.85rem; font-size: 0.88rem;
}
.alert-warn { background: rgba(255, 247, 237, 0.9); color: #9a3412; border: 1px solid #fed7aa; }

.mode-pill {
  display: inline-block; margin-top: 0.65rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  background: rgba(245, 158, 11, 0.18); color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.mode-pill.mode-lengkap {
  background: rgba(16, 185, 129, 0.15); color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}
.admin-off-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: 0.25rem 0 0.85rem;
  padding: 0.45rem 0.75rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  background: rgba(100, 116, 139, 0.12); color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.peg-row { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 1rem; }
.peg-foto-wrap {
  width: 76px; height: 76px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  position: relative; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
}
.peg-foto { width: 100%; height: 100%; object-fit: cover; display: block; }
.peg-foto-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted);
}
.peg-foto-fallback .ico { width: 2rem; height: 2rem; }
.peg-nama { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.peg-meta { font-size: 0.84rem; color: var(--muted); margin-top: 0.15rem; }
.pill {
  display: inline-block; margin-top: 0.4rem;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem; border-radius: 999px;
}
.pill-manual { background: var(--teal-soft); color: var(--teal); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-bottom: 0.75rem; }
.info-cell {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 31, 58, 0.06);
  border-radius: 14px; padding: 0.7rem 0.75rem;
}
.info-cell .k { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 650; }
.info-cell .v { font-weight: 700; color: var(--navy); font-size: 0.88rem; margin-top: 0.2rem; display: block; word-break: break-word; }
.mono { font-variant-numeric: tabular-nums; font-size: 0.8rem !important; }

.status-chip {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 0.9rem; border-radius: 14px;
  background: rgba(11, 31, 58, 0.05); color: var(--muted);
  font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem;
}
.pulse {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 1.4s infinite;
}

.cam-box {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--navy); aspect-ratio: 3/4; margin-bottom: 0.75rem;
}
.cam-box video, .cam-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame {
  pointer-events: none; position: absolute; inset: 12%;
  border: 2px dashed rgba(255, 255, 255, 0.35); border-radius: 50%;
}
.hint { font-size: 0.78rem; color: var(--muted); margin: 0.25rem 0 0; }

.summary-list { list-style: none; margin: 0; padding: 0; }
.summary-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(11, 31, 58, 0.06);
  font-size: 0.88rem;
}
.summary-list li span { color: var(--muted); font-weight: 550; }
.summary-list li strong { text-align: right; color: var(--navy); font-weight: 700; }
.text-teal { color: var(--teal) !important; }

.action-card { padding-top: 1.25rem; }
.foot {
  text-align: center; font-size: 0.72rem; color: var(--muted);
  margin-top: 0.35rem; line-height: 1.45;
}

/* Overlay — MUST stay hidden by default */
.overlay {
  position: fixed; inset: 0; z-index: 80; padding: 1rem;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(6px);
  display: none; place-items: center; pointer-events: none;
}
.overlay.is-on { display: grid; pointer-events: auto; }
.overlay[hidden] { display: none !important; pointer-events: none !important; }
.overlay-box { width: min(300px, 100%); text-align: center; padding: 1.5rem 1.25rem; border-radius: 22px; }
.overlay-text { font-weight: 700; color: var(--navy); }
.overlay-sub {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}
.spinner {
  width: 40px; height: 40px; margin: 0 auto 0.9rem;
  border: 3px solid #d1fae5; border-top-color: var(--teal);
  border-radius: 50%; animation: spin 0.75s linear infinite;
}
.progress { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin-top: 0.85rem; }
.progress .bar { height: 100%; width: 10%; background: linear-gradient(90deg, var(--teal), var(--navy)); transition: width 0.25s; }

.toast {
  position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%) translateY(12px);
  background: var(--navy); color: #fff; padding: 0.9rem 1.15rem; border-radius: 16px;
  max-width: min(92vw, 400px); z-index: 90; font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow); display: none; opacity: 0;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-on { display: block; opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none !important; }
.toast.ok { background: var(--teal); }
.toast.err { background: var(--danger); }

.status-card .status-hero {
  text-align: center;
  padding: 0.35rem 0.25rem 1rem;
}
.status-card .status-hero.ok .status-check {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.55rem; font-weight: 800;
}
.status-card .status-hero .card-title { margin-bottom: 0.25rem; }
.btn-row.stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.btn-row.stack .btn { width: 100%; }
.pill-pending {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.25);
}
.pill-masuk {
  background: rgba(5, 150, 105, 0.14);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.28);
}
.pill-selesai {
  background: rgba(11, 31, 58, 0.1);
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.18);
}
.text-warn { color: #b45309 !important; font-weight: 700; }
.text-ok { color: #047857 !important; font-weight: 700; }
.hint.center { text-align: center; margin: 0 0 0.75rem; }
.already-pesan { margin-top: 0.35rem; font-weight: 600; color: var(--teal); }

.debug-panel {
  position: fixed; right: 0.75rem; bottom: 0.75rem; z-index: 95;
  width: min(360px, calc(100vw - 1.5rem)); max-height: 46vh; overflow: auto;
  border-radius: 16px; padding: 0.75rem 0.85rem; font-size: 0.72rem;
  background: rgba(11, 31, 58, 0.92); color: #e2e8f0; border: 1px solid rgba(255,255,255,0.12);
}
.debug-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.45rem; color: #fff; }
.debug-close {
  border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.debug-body {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #cbd5e1; line-height: 1.4;
}

.success-overlay {
  position: fixed; inset: 0; z-index: 85; display: none; place-items: center;
  background: rgba(11, 31, 58, 0.5); backdrop-filter: blur(8px); padding: 1rem;
}
.success-overlay.is-on { display: grid; }
.success-overlay[hidden] { display: none !important; }
.success-box { width: min(320px, 100%); text-align: center; padding: 1.75rem 1.35rem; border-radius: 24px; }
.success-check { width: 72px; height: 72px; margin: 0 auto 1rem; }
.success-check svg { width: 72px; height: 72px; }
.success-check circle {
  stroke: var(--teal); stroke-width: 2;
  stroke-dasharray: 166; stroke-dashoffset: 166;
  animation: stroke 0.6s var(--ease) forwards;
}
.success-check path {
  stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: stroke 0.35s 0.45s var(--ease) forwards;
}
.success-box h3 { margin: 0 0 0.35rem; font-size: 1.25rem; color: var(--navy); font-weight: 800; }
.success-box p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.92rem; }

/* Skeleton */
.skeleton-card .sk {
  background: linear-gradient(90deg, #e8eef4 25%, #f5f8fb 50%, #e8eef4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
  border-radius: 10px;
}
.sk-row { display: flex; gap: 0.85rem; align-items: center; }
.sk-avatar { width: 72px; height: 72px; border-radius: 18px; }
.sk-col { flex: 1; display: grid; gap: 0.45rem; }
.sk-line { height: 12px; }
.sk-line.w-70 { width: 70%; } .sk-line.w-50 { width: 50%; }
.sk-line.w-40 { width: 40%; } .sk-line.w-80 { width: 80%; }
.sk-line.w-100 { width: 100%; } .sk-line.mt { margin-top: 0.85rem; }

[hidden] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes stroke {
  to { stroke-dashoffset: 0; }
}
.animate-in { animation: rise 0.5s var(--ease) both; }
.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.12s; }

/* —— HP kecil —— */
@media (max-width: 379px) {
  .app { padding-left: 0.75rem; padding-right: 0.75rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero-sub { font-size: 0.82rem; }
  .step-label { font-size: 0.55rem; }
  .card { padding: 1rem 0.85rem; }
  .info-grid { grid-template-columns: 1fr; }
  .btn-row:not(.stack) { grid-template-columns: 1fr; }
  .cam-box { aspect-ratio: 4/5; max-height: 52vh; }
  .peg-foto-wrap { width: 64px; height: 64px; border-radius: 16px; }
  .peg-nama { font-size: 1.02rem; }
}

/* —— HP besar / phablet —— */
@media (min-width: 480px) {
  .app { max-width: 480px; padding-top: 1.25rem; }
  .hero h1 { font-size: 1.85rem; }
  .cam-box { max-height: 58vh; }
}

/* —— Tablet —— */
@media (min-width: 768px) {
  .app {
    max-width: 720px;
    padding: 1.75rem 1.5rem 3rem;
  }
  .glass-hero {
    border-radius: 32px;
    padding: 1.5rem 1.6rem 1.6rem;
  }
  .hero h1 { font-size: 2.05rem; }
  .hero-sub { font-size: 0.98rem; max-width: 36rem; }
  .hero-badge { font-size: 0.74rem; padding: 0.4rem 0.75rem; }
  .hero-time { font-size: 0.9rem; }
  .steps { padding: 0.95rem 1.1rem 0.8rem; border-radius: 20px; }
  .step-dot { width: 1.85rem; height: 1.85rem; font-size: 0.78rem; }
  .step-label { font-size: 0.72rem; }
  .card {
    border-radius: 24px;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
  }
  .card-title { font-size: 1.15rem; }
  .card-desc { font-size: 0.88rem; }
  .inp, select.inp, textarea.inp {
    font-size: 1.05rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
  }
  .btn {
    padding: 1.1rem 1.2rem;
    font-size: 1.05rem;
    border-radius: 18px;
  }
  .btn-masuk, .btn-pulang { padding: 1.25rem; font-size: 1.1rem; }
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .peg-foto-wrap { width: 96px; height: 96px; border-radius: 22px; }
  .peg-nama { font-size: 1.3rem; }
  .cam-box {
    aspect-ratio: 4/3;
    max-height: min(420px, 48vh);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .toast { max-width: min(92vw, 480px); font-size: 0.95rem; }
  .overlay-box, .success-box { width: min(380px, 100%); }
  .foot { font-size: 0.78rem; }
}

/* —— Laptop / desktop —— */
@media (min-width: 1024px) {
  .app {
    max-width: 980px;
    padding: 2rem 1.75rem 3.25rem;
  }
  .glass-hero {
    padding: 1.75rem 2rem;
    border-radius: 32px;
  }
  .hero-top { margin-bottom: 0.55rem; }
  .hero-time {
    font-size: 1.15rem;
    font-weight: 750;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 0.45rem 0.8rem;
  }
  .hero h1 { font-size: 2.25rem; margin-top: 0.15rem; }
  .hero-sub { max-width: 36rem; font-size: 1rem; }

  .app-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  #stepNip,
  #stepAlready,
  #stepPegawai,
  #skeletonCard {
    grid-column: 1 / -1;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  #stepGps,
  #stepSelfie,
  #stepKendala,
  #stepRingkasan { margin-bottom: 0; }
  #stepAksi {
    grid-column: 1 / -1;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .cam-box {
    aspect-ratio: 16/11;
    max-height: 380px;
    max-width: none;
  }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .app { max-width: 1080px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
