/* demo.css — tampilan khusus demo publik (banner, panel simulasi, tur). Mengikuti gaya gedung. */
#login { display: none !important; }
.demo-banner { position: fixed; z-index: 8; left: 20px; top: calc(var(--topH, 64px) + 124px); max-width: min(420px, calc(100% - 40px)); padding: 5px 12px; border-radius: 999px;
  background: #1b2130; color: #f1e4d3; font: 600 .78rem/1.3 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); text-align: left; pointer-events: none; }
.demo-catatan { display: none; margin: 0; font-size: .6875rem; font-weight: 700; color: #9a7230; }
.demo-sim { position: fixed; z-index: 8; left: 50%; transform: translateX(-50%); bottom: 18px; width: min(560px, calc(100% - 520px)); min-width: 380px; padding: 10px 14px 10px;
  border-radius: 18px; background: rgba(250, 249, 246, .94); color: #1b2130; border: 1px solid rgba(27,33,48,.12); box-shadow: 0 14px 34px -14px rgba(15,18,26,.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; display: grid; gap: 4px; }
.demo-atas { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.demo-no { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: #9a7230; }
.demo-jd { font-weight: 800; font-size: .95rem; }
.demo-tx { margin: 0; font-size: .8125rem; line-height: 1.4; color: #3b4252; }
.demo-titik { display: flex; gap: 4px; margin: 2px 0; } .demo-titik i { flex: 1; height: 4px; border-radius: 3px; background: rgba(27,33,48,.14); } .demo-titik i.lalu { background: #c9a35a; } .demo-titik i.on { background: #2f9e6a; }
.demo-tombol { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-tombol button { border: 1px solid rgba(27,33,48,.18); background: #fff; color: #1b2130; border-radius: 999px; min-height: 34px; padding: 4px 11px; font: 700 .78rem/1 inherit; font-family: inherit; cursor: pointer; }
.demo-tombol .demo-play, .demo-tombol .demo-utama { background: #1b2130; color: #fff; border-color: #1b2130; }
.demo-sorot { animation: demoSorot 1.2s ease-in-out 4; } @keyframes demoSorot { 50% { box-shadow: 0 0 0 4px #2f9e6a, 0 10px 30px -10px rgba(0,0,0,.5); } }
.demo-tur { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(15,18,26,.5); }
.demo-kartu { width: min(460px, 100%); border-radius: 20px; background: #faf9f6; color: #1b2130; padding: 20px 20px 16px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.demo-kartu h2 { margin: 2px 0 8px; font-size: 1.25rem; } .demo-kartu p { margin: 0 0 14px; font-size: .9375rem; line-height: 1.5; } .demo-kecil { font-size: .75rem !important; color: #9a7230; font-weight: 800; margin: 0 !important; }
.demo-kartu .demo-tombol { justify-content: flex-end; } .demo-lewati { background: transparent !important; }
@media (max-width: 1100px) { .demo-sim { width: min(560px, calc(100% - 360px)); min-width: 320px; } }
@media (max-width: 760px) {
  .demo-banner { display: none; } .demo-catatan { display: block; }
  /* panel karyawan (lembar bawah) sedang dibuka: panel simulasi diringkas ke atas */
  body:has(.detail.open) .demo-sim { top: calc(var(--topH, 112px) + 8px); bottom: auto; z-index: 11; padding: 6px 10px; }
  body:has(.detail.open) .demo-sim .demo-tx, body:has(.detail.open) .demo-sim .demo-titik, body:has(.detail.open) .demo-sim .demo-catatan { display: none; }
  body:has(.detail.open) .demo-sim .demo-tombol button:not(:nth-child(-n+3)) { display: none; }
  .demo-sim { left: 8px; right: 8px; transform: none; width: auto; min-width: 0; bottom: 136px; padding: 8px 10px; gap: 2px; }
  .demo-tx { font-size: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .demo-tombol button { min-height: 32px; padding: 3px 9px; }
}
