/* tambahan khusus portal; selebihnya memakai app.css (desain yang sama dengan Smart Device) */
body { padding:0; }
.pwrap { max-width:1180px; margin:0 auto; padding:1.5rem 1.2rem 3rem; }
.pbrand { display:flex; align-items:center; gap:.7rem; color:var(--ink); text-decoration:none; font-weight:700; font-size:1.1rem; letter-spacing:-.01em; }
.pbrand img { filter:drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.hero .hero-bar { border-bottom:1px solid var(--line); }
.hero-body p { max-width:60ch; }
a.mi { text-decoration:none; }
.menu .who { align-items:flex-start; }

.tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:1.1rem; }
.tile { display:block; text-decoration:none; color:var(--ink); padding:1.2rem; border-radius:var(--r); background:linear-gradient(180deg,var(--panel-t),var(--panel-b)); border:1px solid rgba(0,0,0,.35); box-shadow:var(--plate); transition:transform .14s var(--ease); animation:rise .5s var(--ease) both; }
.tile:nth-child(2) { animation-delay:.06s; } .tile:nth-child(3) { animation-delay:.12s; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform:translateY(-3px); } }
.tile:active { transform:translateY(1px) scale(.99); }
.tile .ti { width:64px; height:64px; border-radius:16px; display:grid; place-items:center; margin-bottom:.9rem; background:var(--trough); box-shadow:var(--well); }
.tile .ti img { filter:drop-shadow(0 3px 5px rgba(0,0,0,.4)); }
.tile h3 { font-size:1.1rem; } .tile p { margin:.3rem 0 0; font-size:.88rem; color:var(--ink-2); }
.amsicon { color:#7FB2FF; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; }

.lerr, .lok { display:flex; gap:.5rem; align-items:flex-start; margin:0 0 1rem; padding:.8rem .9rem; border-radius:12px; font-size:.9rem; box-shadow:var(--well); }
.lerr { background:var(--danger-weak); color:var(--danger); } .lok { background:var(--ok-weak); color:var(--ok); }
.chk2 { display:inline-flex; align-items:center; gap:.4rem; margin-right:.9rem; font-size:.9rem; min-height:34px; }
.chk2 input { width:18px; height:18px; accent-color:var(--brand); }
form.inl { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem .6rem; margin:0; }
.two2 { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin-top:1.1rem; align-items:start; } .two2 > .card + .card { margin-top:0; }
@media (max-width: 900px) { .two2 { grid-template-columns:1fr; } }
.frm1 { display:grid; gap:.9rem; }
.fs { border:0; padding:0; margin:0; } .fs legend { font-size:.85rem; font-weight:500; margin-bottom:.3rem; padding:0; }
.card + .card { margin-top:1.1rem; }
.hero { margin-bottom:1.1rem; }

/* halaman masuk */
body.loginpg { min-height:100vh; display:grid; place-items:center; padding:1rem; }
.lbox { width:100%; max-width:400px; animation:rise .6s var(--ease) both; }
.lbrand { display:flex; align-items:center; gap:.75rem; margin-bottom:1.4rem; font-weight:700; font-size:1.3rem; letter-spacing:-.01em; }
.lbrand img { filter:drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.lbox form { padding:1.8rem; border-radius:22px; }
.lbox h1 { font-size:1.4rem; letter-spacing:-.02em; margin:0 0 .25rem; } .lbox .sub { margin:0 0 1.3rem; color:var(--ink-2); font-size:.92rem; }

/* info "Harap menunggu..." */
#wait { position:fixed; inset:0; z-index:200; display:grid; place-items:center; background:rgba(8,14,14,.55); backdrop-filter:blur(2px); animation:waitin .18s ease-out; }
#wait[hidden] { display:none; }
.wait-card { display:flex; align-items:center; gap:.9rem; padding:1rem 1.4rem; border-radius:16px; font-weight:700; color:#F2F7F7; background:linear-gradient(180deg,#2C3B3A,#1D2827); border:1px solid rgba(168,201,200,.25); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 16px 34px rgba(0,0,0,.5), 0 0 22px rgba(46,93,230,.35); }
.spin { width:22px; height:22px; border-radius:50%; border:3px solid rgba(168,201,200,.25); border-top-color:#F4580B; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes waitin { from { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .spin { animation:none; border-top-color:#F4580B; border-right-color:#F4580B; } #wait { animation:none; } }
