/* housebiseo portal shell — tenant wrapper */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Segoe UI", sans-serif;
}

.hbs-brand-landing {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(160deg, #ecfdf5 0%, #f8fafc 55%, #fff 100%);
  overflow-y: auto;
}

.hbs-theme-tenant.hbs-brand-landing {
  background: linear-gradient(160deg, #ecfdf5 0%, #f8fafc 55%, #fff 100%);
}

.hbs-brand-landing.is-hidden,
html.hbs-auto-enter #hbs-brand-landing {
  display: none !important;
}

.hbs-brand-card {
  width: min(100%, 420px);
  padding: 28px 22px 24px;
  border-radius: 24px;
  border: 1px solid #a7f3d0;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.hbs-brand-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hbs-brand-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.25;
  color: #111827;
}

.hbs-brand-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #6b7280;
}

.hbs-btn-primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.25);
}

.hbs-brand-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #9ca3af;
}

#hbs-portal-shell-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  border: 0;
  z-index: 100;
  background: #f8fafc;
}

#hbs-portal-shell-frame[hidden] {
  display: none;
}
