/* LUUPIGO objects-2h-d-app-shell-pro-20260715-01 */
body {
  padding-bottom: max(84px, env(safe-area-inset-bottom));
}

.objects-shell-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
  border-bottom: 1px solid #d8e6f7;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.objects-shell-topbar div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.objects-shell-topbar button {
  width: 36px;
  height: 36px;
  border: 1px solid #d8e6f7;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}

.objects-shell-topbar strong {
  color: #0f172a;
  font-size: 15px;
}

.objects-shell-topbar a {
  color: #1263f1;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.objects-shell-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 8px max(10px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
  border-top: 1px solid #d8e6f7;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
}

.objects-shell-bottom a {
  display: grid;
  min-height: 48px;
  place-items: center;
  gap: 2px;
  border-radius: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.objects-shell-bottom a span {
  font-size: 18px;
  line-height: 1;
}

.objects-shell-bottom a.active {
  background: #eff6ff;
  color: #1263f1;
}

body[data-objects-shell-page="home"] .app-header,
body[data-objects-shell-page="detail"] .object-detail-header,
body[data-objects-shell-page="submit"] .submit-header,
body[data-objects-shell-page="manage"] .manage-header {
  display: none;
}

body[data-objects-shell-page="home"] .bottom-nav {
  display: none;
}

body[data-objects-shell-page="home"] .fab {
  bottom: 92px;
}

body[data-objects-shell-page="detail"] .object-detail-app,
body[data-objects-shell-page="submit"] .submit-app,
body[data-objects-shell-page="manage"] .manage-app {
  margin-top: 0;
}

@media (min-width: 760px) {
  .objects-shell-topbar,
  .objects-shell-bottom {
    left: 50%;
    right: auto;
    width: min(420px, 100%);
    transform: translateX(-50%);
  }

  .objects-shell-topbar {
    border-left: 1px solid #d8e6f7;
    border-right: 1px solid #d8e6f7;
  }
}
