/* Dashboard peniaga /app/: bottom navigation di phone, sidebar di desktop (>= 1024 px). */

.app-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  height: 56px; padding: 0 var(--s4);
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: var(--s2); font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }

.app-main {
  max-width: 960px; margin: 0 auto;
  padding: var(--s4) var(--s4) calc(96px + env(safe-area-inset-bottom));
}

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.nav-link svg { width: 24px; height: 24px; }
.nav-link[aria-current="page"] { color: var(--primary); }

@media (min-width: 1024px) {
  .app-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
  .app-shell .app-header { grid-column: 1 / -1; }
  .bottom-nav {
    position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px);
    display: flex; flex-direction: column; gap: var(--s1);
    border-top: 0; border-right: 1px solid var(--border); padding: var(--s4) var(--s3);
  }
  .nav-link {
    flex-direction: row; justify-content: flex-start; gap: var(--s3);
    min-height: 44px; padding: 0 var(--s3); border-radius: var(--s2); font-size: 15px;
  }
  .nav-link[aria-current="page"] { background: #ccfbf1; }
  .app-main { padding-bottom: var(--s6); width: 100%; }
  .toast-wrap { bottom: var(--s5); }
}

/* S-07 Login */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--s5) var(--s4);
}
.login-card { width: 100%; max-width: 400px; text-align: center; }
.login-card .brand { justify-content: center; font-size: 20px; margin-bottom: var(--s5); }
.login-card .brand svg { width: 40px; height: 40px; }
.gsi-slot { display: flex; justify-content: center; min-height: 44px; margin: var(--s5) 0 var(--s3); }

.placeholder { text-align: center; padding: var(--s6) var(--s4); }
.placeholder svg { width: 48px; height: 48px; color: var(--muted); margin-bottom: var(--s3); }

.profile-row { display: flex; flex-direction: column; gap: 2px; }
.profile-row .label { font-size: 13px; color: var(--muted); }
.profile-row .value { font-weight: 600; overflow-wrap: anywhere; }
