/* WMS mobile portal — Five Pillar home (no version chrome) */
html.wms-portal-five-home,
body.wms-portal-five-home {
  height: 100%;
}

body.wms-portal-five-home {
  margin: 0;
  background: #f4f6f8;
  color: #0f172a;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
}

.wmspfh {
  min-height: 100dvh;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 14px calc(18px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wmspfh__title {
  margin: 6px 2px 2px;
  font-size: clamp(1.05rem, 3.8vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.wmspfh__grid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wmspfh__card {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 14px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.wmspfh__card:active {
  transform: translateY(1px);
}

.wmspfh__glyph {
  font-size: 1.35rem;
  line-height: 1;
  margin: 0 0 8px 0;
}

.wmspfh__cardTitle {
  margin: 0 0 6px 0;
  font-size: clamp(1.05rem, 4.2vw, 1.22rem);
  font-weight: 900;
  color: #0f172a;
}

.wmspfh__cardDesc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
  font-weight: 600;
}

.wmspfh__footer {
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
  text-align: center;
}
